mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-06-15 21:45:19 +00:00
Don't show fake call UI on old iOS versions
This commit is contained in:
parent
aa357d463c
commit
78f382a8f1
@ -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()
|
||||
|
Loading…
x
Reference in New Issue
Block a user