mirror of
https://github.com/strukturag/nextcloud-spreed-signaling
synced 2026-03-14 14:35:44 +01:00
Also ignore "participants" events sent before room was joined.
Fix flaky "TestVirtualSessionCustomInCall" under load.
This commit is contained in:
parent
78d74ea3ee
commit
18e41f243a
1 changed files with 1 additions and 1 deletions
|
|
@ -1424,7 +1424,7 @@ func (s *ClientSession) filterAsyncMessage(msg *AsyncMessage) *ServerMessage {
|
|||
}
|
||||
}
|
||||
case "event":
|
||||
if msg.Message.Event.Target == "room" {
|
||||
if msg.Message.Event.Target == "room" || msg.Message.Event.Target == "participants" {
|
||||
// Can happen mostly during tests where an older room async message
|
||||
// could be received by a subscriber that joined after it was sent.
|
||||
if joined := s.getRoomJoinTime(); joined.IsZero() || msg.SendTime.Before(joined) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue