From aa68e8fe3b8f5791196e19af9adb7573632823ec Mon Sep 17 00:00:00 2001 From: krille-chan Date: Mon, 5 Feb 2024 15:55:47 +0100 Subject: [PATCH] chore: Add more information to Person object in android notifications --- lib/utils/push_helper.dart | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/utils/push_helper.dart b/lib/utils/push_helper.dart index ccf5c38a..360bde9d 100644 --- a/lib/utils/push_helper.dart +++ b/lib/utils/push_helper.dart @@ -190,6 +190,9 @@ Future _tryPushHelper( name: event.senderFromMemoryOrFallback.calcDisplayname(), icon: avatarFile == null ? null : BitmapFilePathAndroidIcon(avatarFile.path), + key: event.senderId, + uri: 'matrix:${event.senderId.replaceFirst('@', '')}', + important: event.room.isFavourite, ); final newMessage = Message( body,