pull/506/head
ryanzhao 3 years ago
parent b3db1ac1ed
commit 6f2dd14ce6

@ -182,11 +182,6 @@ NS_ASSUME_NONNULL_BEGIN
[[NSNotificationCenter defaultCenter]
postNotificationNameAsync:kIncomingMessageMarkedAsReadNotification
object:self];
if (self.notificationIdentifier != NULL) {
UNUserNotificationCenter *notificationCenter = [UNUserNotificationCenter currentNotificationCenter];
[notificationCenter removeDeliveredNotificationsWithIdentifiers:@[self.notificationIdentifier]];
[notificationCenter removePendingNotificationRequestsWithIdentifiers:@[self.notificationIdentifier]];
}
}];
[[OWSDisappearingMessagesJob sharedJob] startAnyExpirationForMessage:self

Loading…
Cancel
Save