This commit is contained in:
ismailgulek
2021-05-11 16:17:25 +03:00
parent 7bfc313753
commit c7aca9b902
2 changed files with 3 additions and 1 deletions

View File

@@ -391,6 +391,7 @@ NSString *const AppDelegateUniversalLinkDidChangeNotification = @"AppDelegateUni
if (![application isProtectedDataAvailable])
{
NSLog(@"[AppDelegate] didFinishLaunchingWithOptions: Terminating the app because protected data not available");
exit(0);
}

View File

@@ -316,7 +316,8 @@ class NotificationService: UNNotificationServiceExtension {
callInviteContent.lifetime > event.age,
(callInviteContent.lifetime - event.age) > UInt(NSE.Constants.timeNeededToSendVoIPPushes * MSEC_PER_SEC) {
self.sendVoipPush(forEvent: event)
} else {
NSLog("[NotificationService] notificationContent: Do not attempt to send a VoIP push, there is not enough time to process it.")
}
case .roomMessage, .roomEncrypted:
if isRoomMentionsOnly {