Disconnect sessions with the same room session id synchronously.

Previously there was a difference in the events being received by other
sessions for the clustered case compared to the single-server case.
Now the events / ordering are the same for both cases.
This commit is contained in:
Joachim Bauch
2022-07-11 10:39:06 +02:00
parent 3de149c7ae
commit 95d5e50705
8 changed files with 41 additions and 42 deletions
+1 -1
View File
@@ -392,7 +392,7 @@ func (b *BackendServer) lookupByRoomSessionId(ctx context.Context, roomSessionId
}
}
sid, err := b.roomSessions.LookupSessionId(ctx, roomSessionId)
sid, err := b.roomSessions.LookupSessionId(ctx, roomSessionId, "")
if err == ErrNoSuchRoomSession {
return "", nil
} else if err != nil {