Show user statuses in the rooms list.

This commit is contained in:
Doug
2026-07-10 13:59:58 +01:00
committed by Doug
parent 7b1333c9b8
commit 23b3fc62cb
3 changed files with 41 additions and 10 deletions
@@ -219,6 +219,8 @@ struct HomeScreenRoom: Identifiable, Equatable {
let avatar: RoomAvatar
let statusEmoji: Character?
let canonicalAlias: String?
let isTombstoned: Bool
@@ -246,6 +248,7 @@ struct HomeScreenRoom: Identifiable, Equatable {
lastMessage: placeholderLastMessage,
lastMessageState: nil,
avatar: .room(id: "", name: "", avatarURL: nil),
statusEmoji: nil,
canonicalAlias: nil,
isTombstoned: false)
}
@@ -298,6 +301,7 @@ extension HomeScreenRoom {
lastMessage: summary.lastMessage,
lastMessageState: summary.homeScreenLastMessageState,
avatar: summary.avatar,
statusEmoji: summary.statusEmoji,
canonicalAlias: summary.canonicalAlias,
isTombstoned: summary.isTombstoned)
}