mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-02 03:06:37 +00:00
feat: Use roomInfo to fetch the avatar URL.
This commit is contained in:
committed by
Stefan Ceriu
parent
e1d41ad8a3
commit
8dca82e65e
@@ -222,7 +222,7 @@ class RoomSummaryProvider: RoomSummaryProviderProtocol {
|
||||
let details = RoomSummaryDetails(id: roomInfo.id,
|
||||
name: roomInfo.name ?? roomInfo.id,
|
||||
isDirect: roomInfo.isDirect,
|
||||
avatarURL: roomListItem.avatarUrl().flatMap(URL.init(string:)),
|
||||
avatarURL: roomInfo.avatarUrl.flatMap(URL.init(string:)),
|
||||
lastMessage: attributedLastMessage,
|
||||
lastMessageFormattedTimestamp: lastMessageFormattedTimestamp,
|
||||
unreadNotificationCount: UInt(roomInfo.notificationCount),
|
||||
|
||||
Reference in New Issue
Block a user