aboutsummaryrefslogtreecommitdiff
path: root/cmd/syncserver-integration-tests/main.go
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/syncserver-integration-tests/main.go')
-rw-r--r--cmd/syncserver-integration-tests/main.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/syncserver-integration-tests/main.go b/cmd/syncserver-integration-tests/main.go
index a11dd2a0..cbbcaa7e 100644
--- a/cmd/syncserver-integration-tests/main.go
+++ b/cmd/syncserver-integration-tests/main.go
@@ -103,7 +103,7 @@ func clientEventJSONForOutputRoomEvent(outputRoomEvent string) string {
if err := json.Unmarshal([]byte(outputRoomEvent), &out); err != nil {
panic("failed to unmarshal output room event: " + err.Error())
}
- clientEvs := gomatrixserverlib.ToClientEvents([]gomatrixserverlib.Event{
+ clientEvs := gomatrixserverlib.ToClientEvents([]*gomatrixserverlib.Event{
out.NewRoomEvent.Event.Event,
}, gomatrixserverlib.FormatSync)
b, err := json.Marshal(clientEvs[0])