Fix missing DM URLs. (#1517)

This commit is contained in:
Doug
2023-08-18 14:57:02 +01:00
committed by GitHub
parent e86f65ad2d
commit 0dbbe5bb0d
@@ -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),