mirror of
https://github.com/matrix-org/dendrite.git
synced 2025-12-11 08:53:11 -06:00
Remove VisibilityEventIDs from the JSON
This commit is contained in:
parent
4def43fec5
commit
991dfc8ef4
|
|
@ -58,7 +58,6 @@ func (ore *OutputRoomEvent) UnmarshalJSON(data []byte) error {
|
||||||
// being base64 encoded which is the default for []byte.
|
// being base64 encoded which is the default for []byte.
|
||||||
var content struct {
|
var content struct {
|
||||||
Event *json.RawMessage
|
Event *json.RawMessage
|
||||||
VisibilityEventIDs []string
|
|
||||||
LatestEventIDs []string
|
LatestEventIDs []string
|
||||||
AddsStateEventIDs []string
|
AddsStateEventIDs []string
|
||||||
RemovesStateEventIDs []string
|
RemovesStateEventIDs []string
|
||||||
|
|
@ -90,7 +89,6 @@ func (ore OutputRoomEvent) MarshalJSON() ([]byte, error) {
|
||||||
event := json.RawMessage(ore.Event)
|
event := json.RawMessage(ore.Event)
|
||||||
content := struct {
|
content := struct {
|
||||||
Event *json.RawMessage
|
Event *json.RawMessage
|
||||||
VisibilityEventIDs []string
|
|
||||||
LatestEventIDs []string
|
LatestEventIDs []string
|
||||||
AddsStateEventIDs []string
|
AddsStateEventIDs []string
|
||||||
RemovesStateEventIDs []string
|
RemovesStateEventIDs []string
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue