Skip to content

Commit

Permalink
chore: Add more information to Person object in android notifications
Browse files Browse the repository at this point in the history
  • Loading branch information
krille-chan committed Feb 5, 2024
1 parent ecaac9e commit aa68e8f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/utils/push_helper.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit aa68e8f

Please sign in to comment.