diff --git a/submodules/TelegramCallsUI/Sources/CallKitIntegration.swift b/submodules/TelegramCallsUI/Sources/CallKitIntegration.swift index 5dabd1e5da..d61c485139 100644 --- a/submodules/TelegramCallsUI/Sources/CallKitIntegration.swift +++ b/submodules/TelegramCallsUI/Sources/CallKitIntegration.swift @@ -20,7 +20,7 @@ public final class CallKitIntegration { return false #else if #available(iOSApplicationExtension 10.0, iOS 10.0, *) { - return Locale.current.regionCode?.lowercased() != "cn" && !UserDefaults.standard.bool(forKey: "legacyNotificationsFix") + return Locale.current.regionCode?.lowercased() != "cn" && !(UserDefaults(suiteName: "group.app.swiftgram.ios")?.bool(forKey: "legacyNotificationsFix") ?? false) } else { return false }