aboutsummaryrefslogtreecommitdiff
path: root/roomserver/api/input.go
diff options
context:
space:
mode:
Diffstat (limited to 'roomserver/api/input.go')
-rw-r--r--roomserver/api/input.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/roomserver/api/input.go b/roomserver/api/input.go
index e1a8afa0..8e6e4ac7 100644
--- a/roomserver/api/input.go
+++ b/roomserver/api/input.go
@@ -53,7 +53,7 @@ type InputRoomEvent struct {
// This controls how the event is processed.
Kind Kind `json:"kind"`
// The event JSON for the event to add.
- Event gomatrixserverlib.HeaderedEvent `json:"event"`
+ Event *gomatrixserverlib.HeaderedEvent `json:"event"`
// List of state event IDs that authenticate this event.
// These are likely derived from the "auth_events" JSON key of the event.
// But can be different because the "auth_events" key can be incomplete or wrong.