Fix call peer id

This commit is contained in:
Ali 2021-12-03 22:19:45 +04:00
parent 0a7b823f5c
commit 41c7863cc9
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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