diff options
author | Neil Alexander <neilalexander@users.noreply.github.com> | 2020-03-17 11:01:25 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-17 11:01:25 +0000 |
commit | aebf347a79102597a359dcd59bb45593c8352780 (patch) | |
tree | d331c90109878611c0954276dc7a521415c43b9c /cmd/create-room-events | |
parent | 9f74a8798e26d9482f1964ff79a28acfe61d6dd1 (diff) |
Implement gomatrixserverlib.HeaderedEvent in roomserver Kafka output (#914)
* Use Event.Headered
* Use HeaderedEvent in roomserver kafka output
* Fix syncserver-integration-tests
* Update producers to roomserver inputs
* Update gomatrixserverlib
* Update gomatrixserverlib
* Update gomatrixserverlib
* Update gomatrixserverlib
* Update gomatrixserverlib
* Update gomatrixserverlib
Diffstat (limited to 'cmd/create-room-events')
-rw-r--r-- | cmd/create-room-events/main.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/create-room-events/main.go b/cmd/create-room-events/main.go index 8475914f..ef442a0c 100644 --- a/cmd/create-room-events/main.go +++ b/cmd/create-room-events/main.go @@ -125,7 +125,7 @@ func writeEvent(event gomatrixserverlib.Event) { if *format == "InputRoomEvent" { var ire api.InputRoomEvent ire.Kind = api.KindNew - ire.Event = event + ire.Event = event.Headered(gomatrixserverlib.RoomVersionV1) authEventIDs := []string{} for _, ref := range b.AuthEvents { authEventIDs = append(authEventIDs, ref.EventID) |