mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-24 07:05:35 +00:00
Update notification service
This commit is contained in:
@@ -157,7 +157,7 @@ static void reportMemory() {
|
||||
|
||||
- (void)didReceiveNotificationRequest:(UNNotificationRequest *)request withContentHandler:(void (^)(UNNotificationContent * _Nonnull))contentHandler {
|
||||
if (_rootPath == nil) {
|
||||
_bestAttemptContent = request.content;
|
||||
_bestAttemptContent = (UNMutableNotificationContent *)[request.content mutableCopy];
|
||||
[self completeWithBestAttemptContent];
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user