From 552eecfd03ecb605f913e1117ab9eb271da3c8be Mon Sep 17 00:00:00 2001 From: Matthew Chen Date: Thu, 20 Apr 2017 17:46:08 -0400 Subject: [PATCH] Increase local notification delay. // FREEBIE --- Signal/src/network/PushManager.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Signal/src/network/PushManager.m b/Signal/src/network/PushManager.m index 8a6ddc066..72bc687e7 100644 --- a/Signal/src/network/PushManager.m +++ b/Signal/src/network/PushManager.m @@ -436,7 +436,7 @@ NSString *const PushManagerUserInfoKeysCallBackSignalRecipientId = @"PushManager if (checkForCancel && threadId != nil) { // The longer we wait, the more obsolete notifications we can suppress - // but the more lag we introduce to notification delivery. - const CGFloat kDelaySeconds = 0.3f; + const CGFloat kDelaySeconds = 0.5f; notification.fireDate = [NSDate dateWithTimeIntervalSinceNow:kDelaySeconds]; notification.timeZone = [NSTimeZone localTimeZone]; }