mirror of
https://github.com/matrix-org/dendrite.git
synced 2026-01-16 10:33:11 -06:00
Fix oops
This commit is contained in:
parent
45e9f23981
commit
4b34a51a2b
|
|
@ -228,7 +228,7 @@ func loadAuthEvents(
|
|||
}
|
||||
roomID := ""
|
||||
for _, ev := range result.events {
|
||||
if ev.RoomID() != "" {
|
||||
if roomID == "" {
|
||||
roomID = ev.RoomID()
|
||||
}
|
||||
if ev.RoomID() != roomID {
|
||||
|
|
|
|||
Loading…
Reference in a new issue