Skip to content

Commit c56101d

Browse files
bmartyouchadam
authored andcommitted
Do not use the room member avatar as a room avatar
1 parent e8bd27e commit c56101d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

vector/src/main/java/im/vector/app/features/notifications/RoomGroupMessageCreator.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ class RoomGroupMessageCreator @Inject constructor(
163163
if (events.isEmpty()) return null
164164

165165
// Use the last event (most recent?)
166-
val roomAvatarPath = events.last().roomAvatarPath ?: events.last().senderAvatarPath
166+
val roomAvatarPath = events.last().roomAvatarPath
167167

168168
return bitmapLoader.getRoomBitmap(roomAvatarPath)
169169
}

0 commit comments

Comments
 (0)