Fix DM avatars not showing up in room headers. Use the roomListItem avatar instead of the fullRoom one.

This commit is contained in:
Stefan Ceriu
2023-07-28 18:13:59 +03:00
committed by Stefan Ceriu
parent cdc7502a2c
commit 62f78fb6d0
@@ -148,7 +148,7 @@ class RoomProxy: RoomProxyProtocol {
}
var avatarURL: URL? {
room.avatarUrl().flatMap(URL.init(string:))
roomListItem.avatarUrl().flatMap(URL.init(string:))
}
var encryptionBadgeImage: UIImage? {