try to dismiss notifications when read

This commit is contained in:
Henry Hiles 2026-11-25 15:14:52 -05:00
commit 322217fc20
Signed by: Henry-Hiles
SSH key fingerprint: SHA256:VKQUdS31Q90KvX7EkKMHMBpUspcmItAh86a+v7PGiIs

View file

@ -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,