mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-02 21:06:00 +00:00
Show user statuses in the rooms list.
This commit is contained in:
@@ -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)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user