From c5614c77e4942f5f7ab638751e9eebed7b584892 Mon Sep 17 00:00:00 2001 From: Ali <> Date: Wed, 22 Sep 2021 13:59:02 +0300 Subject: [PATCH] Re-enable voip --- submodules/TelegramUI/Sources/AppDelegate.swift | 4 ---- 1 file changed, 4 deletions(-) diff --git a/submodules/TelegramUI/Sources/AppDelegate.swift b/submodules/TelegramUI/Sources/AppDelegate.swift index d94725fda2..d0b6612897 100644 --- a/submodules/TelegramUI/Sources/AppDelegate.swift +++ b/submodules/TelegramUI/Sources/AppDelegate.swift @@ -1489,10 +1489,6 @@ final class SharedApplicationContext { } public func pushRegistry(_ registry: PKPushRegistry, didReceiveIncomingPushWith payload: PKPushPayload, for type: PKPushType) { - if "".isEmpty { - return; - } - if #available(iOS 9.0, *) { /*guard var encryptedPayload = payload.dictionaryPayload["p"] as? String else { return