mirror of
https://github.com/matrix-org/dendrite.git
synced 2025-12-16 11:23:11 -06:00
Fix create-room-events
This commit is contained in:
parent
0c67aa99bd
commit
b7744e3c0c
|
|
@ -127,7 +127,7 @@ func writeEvent(event gomatrixserverlib.Event) {
|
|||
ire.Kind = api.KindNew
|
||||
ire.Event = event
|
||||
authEventIDs := []string{}
|
||||
for _, ref := range b.AuthEvents {
|
||||
for _, ref := range b.AuthEvents.([]gomatrixserverlib.EventReference) {
|
||||
authEventIDs = append(authEventIDs, ref.EventID)
|
||||
}
|
||||
ire.AuthEventIDs = authEventIDs
|
||||
|
|
|
|||
Loading…
Reference in a new issue