mirror of
https://github.com/element-hq/element-x-ios.git
synced 2025-03-11 13:59:13 +00:00
feat: Use roomInfo
to fetch the avatar URL.
This commit is contained in:
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),
|
||||
|
Loading…
x
Reference in New Issue
Block a user