From 991dfc8ef420807ff555192b697daf87b5a576f2 Mon Sep 17 00:00:00 2001 From: Mark Haines Date: Mon, 19 Jun 2017 12:46:36 +0100 Subject: [PATCH] Remove VisibilityEventIDs from the JSON --- src/github.com/matrix-org/dendrite/roomserver/api/output.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/github.com/matrix-org/dendrite/roomserver/api/output.go b/src/github.com/matrix-org/dendrite/roomserver/api/output.go index bd9b0d3c7..169a69b1c 100644 --- a/src/github.com/matrix-org/dendrite/roomserver/api/output.go +++ b/src/github.com/matrix-org/dendrite/roomserver/api/output.go @@ -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