Don't show fake call UI on old iOS versions

(cherry picked from commit 78f382a8f1d0fd4d8f2c071433e07435b4d370f6)
This commit is contained in:
Isaac 2025-05-12 11:11:45 +04:00
parent e8cf06d3be
commit 15b769a274

View File

@ -2400,6 +2400,8 @@ private func extractAccountManagerState(records: AccountRecordsView<TelegramAcco
}
private func reportFailedIncomingCallKitCall() {
if #available(iOS 14.4, *) {
} else {
guard let callKitIntegration = CallKitIntegration.shared else {
return
}
@ -2425,6 +2427,7 @@ private func extractAccountManagerState(records: AccountRecordsView<TelegramAcco
callKitIntegration.dropCall(uuid: uuid)
})
}
}
private func authorizedContext() -> Signal<AuthorizedApplicationContext, NoError> {
return self.context.get()