mirror of
https://github.com/simplex-chat/simplex-chat.git
synced 2026-04-05 06:45:49 +00:00
ios: CallKit double call in background fix (#2004)
This commit is contained in:
committed by
GitHub
parent
f123a905d5
commit
f48cabcc0a
@@ -139,6 +139,7 @@ class CallController: NSObject, CXProviderDelegate, PKPushRegistryDelegate, Obse
|
||||
if type == .voIP {
|
||||
if (!ChatModel.shared.chatInitialized) {
|
||||
initChatAndMigrate()
|
||||
startChatAndActivate()
|
||||
CallController.shared.onEndCall = { terminateChat() }
|
||||
// CallKit will be called from different place, see SimpleXAPI.startChat()
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user