mirror of
https://github.com/strukturag/nextcloud-spreed-signaling.git
synced 2023-10-21 07:33:40 -05:00
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:
+1
-1
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user