chore: Add more information to Person object in android notifications

This commit is contained in:
krille-chan 2024-02-05 15:55:47 +01:00
parent ecaac9eec2
commit aa68e8fe3b
No known key found for this signature in database

View file

@ -190,6 +190,9 @@ Future<void> _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,