From de7b85819f0355f4c38a14c3fbe1d31c9d4b24c0 Mon Sep 17 00:00:00 2001 From: Krille Date: Sun, 29 Sep 2024 17:08:01 +0200 Subject: [PATCH] chore: Group notifications on android by first space parent --- lib/utils/push_helper.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/utils/push_helper.dart b/lib/utils/push_helper.dart index 7a82b370f..66c2d0196 100644 --- a/lib/utils/push_helper.dart +++ b/lib/utils/push_helper.dart @@ -295,7 +295,7 @@ Future _tryPushHelper( ), importance: Importance.high, priority: Priority.max, - groupKey: notificationGroupId, + groupKey: event.room.spaceParents.firstOrNull?.roomId ?? 'rooms', ); const iOSPlatformChannelSpecifics = DarwinNotificationDetails(); final platformChannelSpecifics = NotificationDetails(