mirror of
https://github.com/krille-chan/fluffychat
synced 2024-09-17 08:15:09 +00:00
chore: Follow up notification avatar
This commit is contained in:
parent
e45101325f
commit
20154e3f24
1 changed files with 6 additions and 4 deletions
|
@ -171,8 +171,9 @@ Future<void> _tryPushHelper(
|
|||
final avatar = event.room.avatar
|
||||
?.getThumbnail(
|
||||
client,
|
||||
width: 128,
|
||||
height: 128,
|
||||
width: 256,
|
||||
height: 256,
|
||||
method: ThumbnailMethod.scale,
|
||||
)
|
||||
.toString();
|
||||
final senderAvatar = event.room.isDirectChat
|
||||
|
@ -180,8 +181,9 @@ Future<void> _tryPushHelper(
|
|||
: event.senderFromMemoryOrFallback.avatarUrl
|
||||
?.getThumbnail(
|
||||
client,
|
||||
width: 128,
|
||||
height: 128,
|
||||
width: 256,
|
||||
height: 256,
|
||||
method: ThumbnailMethod.scale,
|
||||
)
|
||||
.toString();
|
||||
|
||||
|
|
Loading…
Reference in a new issue