mirror of
https://github.com/SchildiChat/SchildiChat-android.git
synced 2025-03-17 19:58:57 +03:00
Do not use the room member avatar as a room avatar
This commit is contained in:
parent
e8bd27e785
commit
c56101d227
1 changed files with 1 additions and 1 deletions
|
@ -163,7 +163,7 @@ class RoomGroupMessageCreator @Inject constructor(
|
|||
if (events.isEmpty()) return null
|
||||
|
||||
// Use the last event (most recent?)
|
||||
val roomAvatarPath = events.last().roomAvatarPath ?: events.last().senderAvatarPath
|
||||
val roomAvatarPath = events.last().roomAvatarPath
|
||||
|
||||
return bitmapLoader.getRoomBitmap(roomAvatarPath)
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue