mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-07-31 15:37:01 +00:00
Fix call peer id
This commit is contained in:
parent
0a7b823f5c
commit
41c7863cc9
@ -613,7 +613,7 @@ public final class PresentationCallImpl: PresentationCall {
|
||||
self.callKitIntegration?.reportIncomingCall(
|
||||
uuid: self.internalId,
|
||||
stableId: stableId,
|
||||
handle: "\(self.peerId.id)",
|
||||
handle: "\(self.peerId.id._internalGetInt64Value())",
|
||||
isVideo: sessionState.type == .video,
|
||||
displayTitle: self.peer?.debugDisplayTitle ?? "Unknown",
|
||||
completion: { [weak self] error in
|
||||
|
@ -1544,7 +1544,7 @@ private func extractAccountManagerState(records: AccountRecordsView<TelegramAcco
|
||||
callKitIntegration.reportIncomingCall(
|
||||
uuid: CallSessionManager.getStableIncomingUUID(stableId: callUpdate.callId),
|
||||
stableId: callUpdate.callId,
|
||||
handle: "\(callUpdate.peer.id.id)",
|
||||
handle: "\(callUpdate.peer.id.id._internalGetInt64Value())",
|
||||
isVideo: false,
|
||||
displayTitle: callUpdate.peer.debugDisplayTitle,
|
||||
completion: { error in
|
||||
|
Loading…
x
Reference in New Issue
Block a user