remove negative notification

There isn't much the user can do in response to it, and the user will
get a subsequent "new message" notification when the fallback push
triggers.

// FREEBIE
pull/1/head
Michael Kirk 8 years ago
parent 907e122d62
commit d6f2fa92a6

@ -387,9 +387,6 @@ static NSString *const kURLHostVerifyPrefix = @"verify";
}
if (![TSStorageManager isDatabasePasswordAccessible]) {
UILocalNotification *notification = [[UILocalNotification alloc] init];
notification.alertBody = NSLocalizedString(@"PHONE_NEEDS_UNLOCK", nil);
[[UIApplication sharedApplication] presentLocalNotificationNow:notification];
DDLogInfo(@"%@ exiting because we are in the background and the database password is not accessible.", self.tag);
exit(0);
}

Loading…
Cancel
Save