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