forked from Nexus/nexus
try to dismiss notifications when read
This commit is contained in:
parent
b680add183
commit
322217fc20
1 changed files with 90 additions and 1 deletions
|
|
@ -143,7 +143,10 @@ class UnifiedPushController extends AsyncNotifier<String?> {
|
|||
"$accountId/${Platform.isAndroid ? notification.roomId : notification.eventId}"
|
||||
.hashCode &
|
||||
0x7fffffff,
|
||||
threadId: "$accountId/${notification.roomId}",
|
||||
threadId: NotificationController.threadIdFor(
|
||||
accountId,
|
||||
notification.roomId,
|
||||
),
|
||||
title: notification.roomName,
|
||||
subtitle: hasOtherAccounts ? notification.self.id : null,
|
||||
body: notification.text,
|
||||
|
|
|
|||
Loading…
Reference in a new issue