mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-03 16:10:20 +00:00
Fixes #3135 - Ignore multiple call notify pushes for the same room
This commit is contained in:
committed by
Stefan Ceriu
parent
7818fa626a
commit
398442ff12
@@ -140,6 +140,11 @@ class ElementCallService: NSObject, ElementCallServiceProtocol, PKPushRegistryDe
|
||||
return
|
||||
}
|
||||
|
||||
guard ongoingCallID?.roomID != roomID else {
|
||||
MXLog.warning("Call already ongoing for room \(roomID), ignoring incoming push")
|
||||
return
|
||||
}
|
||||
|
||||
let callID = CallID(callKitID: UUID(), roomID: roomID)
|
||||
incomingCallID = callID
|
||||
|
||||
|
||||
Reference in New Issue
Block a user