mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-04 10:33:45 +00:00
Show the last message state in the room list.
This commit is contained in:
@@ -83,6 +83,7 @@ extension RoomSummary {
|
||||
activeMembersCount: 0,
|
||||
lastMessage: AttributedString("I do not wish to take the trouble to understand mysticism"),
|
||||
lastMessageDate: .mock,
|
||||
lastMessageState: nil,
|
||||
unreadMessagesCount: 0,
|
||||
unreadMentionsCount: 0,
|
||||
unreadNotificationsCount: 0,
|
||||
@@ -109,6 +110,7 @@ extension Array where Element == RoomSummary {
|
||||
activeMembersCount: 0,
|
||||
lastMessage: AttributedString("I do not wish to take the trouble to understand mysticism"),
|
||||
lastMessageDate: .mock,
|
||||
lastMessageState: nil,
|
||||
unreadMessagesCount: 0,
|
||||
unreadMentionsCount: 0,
|
||||
unreadNotificationsCount: 0,
|
||||
@@ -130,6 +132,7 @@ extension Array where Element == RoomSummary {
|
||||
activeMembersCount: 0,
|
||||
lastMessage: AttributedString("How do you see the Emperor then? You think he keeps office hours?"),
|
||||
lastMessageDate: .mock,
|
||||
lastMessageState: nil,
|
||||
unreadMessagesCount: 2,
|
||||
unreadMentionsCount: 0,
|
||||
unreadNotificationsCount: 2,
|
||||
@@ -151,6 +154,7 @@ extension Array where Element == RoomSummary {
|
||||
activeMembersCount: 0,
|
||||
lastMessage: try? AttributedString(markdown: "He certainly seemed no *mental genius* to me"),
|
||||
lastMessageDate: .mock,
|
||||
lastMessageState: nil,
|
||||
unreadMessagesCount: 3,
|
||||
unreadMentionsCount: 0,
|
||||
unreadNotificationsCount: 0,
|
||||
@@ -172,6 +176,7 @@ extension Array where Element == RoomSummary {
|
||||
activeMembersCount: 0,
|
||||
lastMessage: AttributedString("There's an archaic measure of time that's called the month"),
|
||||
lastMessageDate: .mock,
|
||||
lastMessageState: nil,
|
||||
unreadMessagesCount: 2,
|
||||
unreadMentionsCount: 2,
|
||||
unreadNotificationsCount: 2,
|
||||
@@ -193,6 +198,7 @@ extension Array where Element == RoomSummary {
|
||||
activeMembersCount: 0,
|
||||
lastMessage: AttributedString("Clearly, if Earth is powerful enough to do that, it might also be capable of adjusting minds in order to force belief in its radioactivity"),
|
||||
lastMessageDate: .mock,
|
||||
lastMessageState: nil,
|
||||
unreadMessagesCount: 1,
|
||||
unreadMentionsCount: 1,
|
||||
unreadNotificationsCount: 1,
|
||||
@@ -214,6 +220,7 @@ extension Array where Element == RoomSummary {
|
||||
activeMembersCount: 0,
|
||||
lastMessage: AttributedString("Are you groping for the word 'paranoia'?"),
|
||||
lastMessageDate: .mock,
|
||||
lastMessageState: nil,
|
||||
unreadMessagesCount: 6,
|
||||
unreadMentionsCount: 0,
|
||||
unreadNotificationsCount: 0,
|
||||
@@ -235,6 +242,7 @@ extension Array where Element == RoomSummary {
|
||||
activeMembersCount: 0,
|
||||
lastMessage: nil,
|
||||
lastMessageDate: .mock,
|
||||
lastMessageState: nil,
|
||||
unreadMessagesCount: 1,
|
||||
unreadMentionsCount: 0,
|
||||
unreadNotificationsCount: 1,
|
||||
@@ -256,6 +264,7 @@ extension Array where Element == RoomSummary {
|
||||
activeMembersCount: 0,
|
||||
lastMessage: nil,
|
||||
lastMessageDate: nil,
|
||||
lastMessageState: nil,
|
||||
unreadMessagesCount: 0,
|
||||
unreadMentionsCount: 0,
|
||||
unreadNotificationsCount: 0,
|
||||
@@ -310,6 +319,7 @@ extension Array where Element == RoomSummary {
|
||||
activeMembersCount: 0,
|
||||
lastMessage: nil,
|
||||
lastMessageDate: nil,
|
||||
lastMessageState: nil,
|
||||
unreadMessagesCount: 0,
|
||||
unreadMentionsCount: 0,
|
||||
unreadNotificationsCount: 0,
|
||||
@@ -331,6 +341,7 @@ extension Array where Element == RoomSummary {
|
||||
activeMembersCount: 0,
|
||||
lastMessage: nil,
|
||||
lastMessageDate: nil,
|
||||
lastMessageState: nil,
|
||||
unreadMessagesCount: 0,
|
||||
unreadMentionsCount: 0,
|
||||
unreadNotificationsCount: 0,
|
||||
@@ -355,6 +366,7 @@ extension Array where Element == RoomSummary {
|
||||
activeMembersCount: 0,
|
||||
lastMessage: nil,
|
||||
lastMessageDate: nil,
|
||||
lastMessageState: nil,
|
||||
unreadMessagesCount: 0,
|
||||
unreadMentionsCount: 0,
|
||||
unreadNotificationsCount: 0,
|
||||
@@ -376,6 +388,7 @@ extension Array where Element == RoomSummary {
|
||||
activeMembersCount: 0,
|
||||
lastMessage: nil,
|
||||
lastMessageDate: nil,
|
||||
lastMessageState: nil,
|
||||
unreadMessagesCount: 0,
|
||||
unreadMentionsCount: 0,
|
||||
unreadNotificationsCount: 0,
|
||||
|
||||
Reference in New Issue
Block a user