mirror of
https://github.com/matrix-org/dendrite.git
synced 2025-12-29 01:33:10 -06:00
Fix ordering
This commit is contained in:
parent
e0e3628717
commit
b1e8489c55
|
|
@ -379,6 +379,7 @@ func createRoom(
|
||||||
if guestAccessEvent != nil {
|
if guestAccessEvent != nil {
|
||||||
eventsToMake = append(eventsToMake, *guestAccessEvent)
|
eventsToMake = append(eventsToMake, *guestAccessEvent)
|
||||||
}
|
}
|
||||||
|
eventsToMake = append(eventsToMake, initialStateEvents...)
|
||||||
if nameEvent != nil {
|
if nameEvent != nil {
|
||||||
eventsToMake = append(eventsToMake, *nameEvent)
|
eventsToMake = append(eventsToMake, *nameEvent)
|
||||||
}
|
}
|
||||||
|
|
@ -391,7 +392,6 @@ func createRoom(
|
||||||
// m.room.aliases is handled when we call roomserver.SetRoomAlias
|
// m.room.aliases is handled when we call roomserver.SetRoomAlias
|
||||||
eventsToMake = append(eventsToMake, *aliasEvent)
|
eventsToMake = append(eventsToMake, *aliasEvent)
|
||||||
}
|
}
|
||||||
eventsToMake = append(eventsToMake, initialStateEvents...)
|
|
||||||
|
|
||||||
// TODO: invite events
|
// TODO: invite events
|
||||||
// TODO: 3pid invite events
|
// TODO: 3pid invite events
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue