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(),
|
name: event.senderFromMemoryOrFallback.calcDisplayname(),
|
||||||
icon:
|
icon:
|
||||||
avatarFile == null ? null : BitmapFilePathAndroidIcon(avatarFile.path),
|
avatarFile == null ? null : BitmapFilePathAndroidIcon(avatarFile.path),
|
||||||
|
key: event.senderId,
|
||||||
|
uri: 'matrix:${event.senderId.replaceFirst('@', '')}',
|
||||||
|
important: event.room.isFavourite,
|
||||||
);
|
);
|
||||||
final newMessage = Message(
|
final newMessage = Message(
|
||||||
body,
|
body,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue