Page MenuHomePhabricator

D9400.diff
No OneTemporary

D9400.diff

diff --git a/native/ios/NotificationService/NotificationService.mm b/native/ios/NotificationService/NotificationService.mm
--- a/native/ios/NotificationService/NotificationService.mm
+++ b/native/ios/NotificationService/NotificationService.mm
@@ -195,7 +195,6 @@
UNMutableNotificationContent *badgeOnlyContent =
[[UNMutableNotificationContent alloc] init];
badgeOnlyContent.badge = content.badge;
- content = badgeOnlyContent;
publicUserContent = badgeOnlyContent;
}
@@ -279,7 +278,7 @@
}
if ([self shouldBeDecrypted:content.userInfo] &&
- !content.userInfo[@"succesfullyDecrypted"]) {
+ !content.userInfo[@"successfullyDecrypted"]) {
// If we get to this place it means we were unable to
// decrypt encrypted notification content in time
// given to NSE to process notification.
@@ -525,6 +524,7 @@
mutableUserInfo[@"aps"] = mutableAps;
}
[mutableUserInfo removeObjectForKey:encryptedPayloadKey];
+ mutableUserInfo[@"successfullyDecrypted"] = @(YES);
content.userInfo = mutableUserInfo;
}

File Metadata

Mime Type
text/plain
Expires
Wed, Nov 27, 2:08 AM (21 h, 17 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2587329
Default Alt Text
D9400.diff (1 KB)

Event Timeline