mirror of
https://github.com/krille-chan/fluffychat
synced 2024-08-11 08:33:44 +00:00
chore: Add more information to Person object in android notifications
This commit is contained in:
parent
ecaac9eec2
commit
aa68e8fe3b
1 changed files with 3 additions and 0 deletions
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue