mirror of
https://github.com/Dimillian/IceCubesApp.git
synced 2024-11-13 04:51:21 +00:00
Group notification by status or account id
This commit is contained in:
parent
363164d96d
commit
c12bf3a098
1 changed files with 1 additions and 0 deletions
|
@ -88,6 +88,7 @@ class NotificationService: UNNotificationServiceExtension {
|
|||
currentUser: bestAttemptContent.userInfo["i"] as? String ?? "",
|
||||
avatarURL: fileURL)
|
||||
bestAttemptContent = try bestAttemptContent.updating(from: intent) as! UNMutableNotificationContent
|
||||
bestAttemptContent.threadIdentifier = remoteNotification.status?.id ?? remoteNotification.account.id
|
||||
if type == .mention {
|
||||
bestAttemptContent.body = notification.body.escape()
|
||||
} else {
|
||||
|
|
Loading…
Reference in a new issue