From 41c7863cc9a9be2da7332f7ddaade2dee1cc45c6 Mon Sep 17 00:00:00 2001 From: Ali <> Date: Fri, 3 Dec 2021 22:19:45 +0400 Subject: [PATCH] Fix call peer id --- submodules/TelegramCallsUI/Sources/PresentationCall.swift | 2 +- submodules/TelegramUI/Sources/AppDelegate.swift | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/submodules/TelegramCallsUI/Sources/PresentationCall.swift b/submodules/TelegramCallsUI/Sources/PresentationCall.swift index 56cfa62c67..74f2c80a7c 100644 --- a/submodules/TelegramCallsUI/Sources/PresentationCall.swift +++ b/submodules/TelegramCallsUI/Sources/PresentationCall.swift @@ -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 diff --git a/submodules/TelegramUI/Sources/AppDelegate.swift b/submodules/TelegramUI/Sources/AppDelegate.swift index 1d31cf59a8..58ce4b2f49 100644 --- a/submodules/TelegramUI/Sources/AppDelegate.swift +++ b/submodules/TelegramUI/Sources/AppDelegate.swift @@ -1544,7 +1544,7 @@ private func extractAccountManagerState(records: AccountRecordsView