mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-10-09 11:23:48 +00:00
Fix calls
This commit is contained in:
parent
b727636883
commit
de164d0df8
@ -169,7 +169,7 @@ class CallKitProviderDelegate: NSObject, CXProviderDelegate {
|
|||||||
func startCall(account: Account, peerId: PeerId, isVideo: Bool, displayTitle: String) {
|
func startCall(account: Account, peerId: PeerId, isVideo: Bool, displayTitle: String) {
|
||||||
let uuid = UUID()
|
let uuid = UUID()
|
||||||
self.currentStartCallAccount = (uuid, account)
|
self.currentStartCallAccount = (uuid, account)
|
||||||
let handle = CXHandle(type: .generic, value: "\(peerId.id)")
|
let handle = CXHandle(type: .generic, value: "\(peerId.id._internalGetInt32Value())")
|
||||||
let startCallAction = CXStartCallAction(call: uuid, handle: handle)
|
let startCallAction = CXStartCallAction(call: uuid, handle: handle)
|
||||||
startCallAction.contactIdentifier = displayTitle
|
startCallAction.contactIdentifier = displayTitle
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user