mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-03 16:10:20 +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,
|
let details = RoomSummaryDetails(id: roomInfo.id,
|
||||||
name: roomInfo.name ?? roomInfo.id,
|
name: roomInfo.name ?? roomInfo.id,
|
||||||
isDirect: roomInfo.isDirect,
|
isDirect: roomInfo.isDirect,
|
||||||
avatarURL: roomListItem.avatarUrl().flatMap(URL.init(string:)),
|
avatarURL: roomInfo.avatarUrl.flatMap(URL.init(string:)),
|
||||||
lastMessage: attributedLastMessage,
|
lastMessage: attributedLastMessage,
|
||||||
lastMessageFormattedTimestamp: lastMessageFormattedTimestamp,
|
lastMessageFormattedTimestamp: lastMessageFormattedTimestamp,
|
||||||
unreadNotificationCount: UInt(roomInfo.notificationCount),
|
unreadNotificationCount: UInt(roomInfo.notificationCount),
|
||||||
|
|||||||
Reference in New Issue
Block a user