diff --git a/ElementX/Sources/Services/Room/RoomSummary/RoomSummaryProvider.swift b/ElementX/Sources/Services/Room/RoomSummary/RoomSummaryProvider.swift index bd35d883f..909ef31b9 100644 --- a/ElementX/Sources/Services/Room/RoomSummary/RoomSummaryProvider.swift +++ b/ElementX/Sources/Services/Room/RoomSummary/RoomSummaryProvider.swift @@ -195,7 +195,7 @@ class RoomSummaryProvider: RoomSummaryProviderProtocol { let details = RoomSummaryDetails(id: roomInfo.id, name: roomInfo.name ?? roomInfo.id, isDirect: roomInfo.isDirect, - avatarURL: roomInfo.avatarUrl.flatMap(URL.init(string:)), + avatarURL: roomListItem.avatarUrl().flatMap(URL.init(string:)), lastMessage: attributedLastMessage, lastMessageFormattedTimestamp: lastMessageFormattedTimestamp, unreadNotificationCount: UInt(roomInfo.notificationCount),