Remove VisibilityEventIDs from the JSON

This commit is contained in:
Mark Haines 2017-06-19 12:46:36 +01:00
parent 4def43fec5
commit 991dfc8ef4

View file

@ -58,7 +58,6 @@ func (ore *OutputRoomEvent) UnmarshalJSON(data []byte) error {
// being base64 encoded which is the default for []byte.
var content struct {
Event *json.RawMessage
VisibilityEventIDs []string
LatestEventIDs []string
AddsStateEventIDs []string
RemovesStateEventIDs []string
@ -90,7 +89,6 @@ func (ore OutputRoomEvent) MarshalJSON() ([]byte, error) {
event := json.RawMessage(ore.Event)
content := struct {
Event *json.RawMessage
VisibilityEventIDs []string
LatestEventIDs []string
AddsStateEventIDs []string
RemovesStateEventIDs []string