mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-04 19:44:05 +00:00
Remove now unnecessary RoomListSummary lastMessageFormattedTimestamp
This commit is contained in:
committed by
Stefan Ceriu
parent
899c33a5ad
commit
41b18cfd52
@@ -79,8 +79,7 @@ extension RoomSummary {
|
||||
avatarURL: nil,
|
||||
heroes: [],
|
||||
lastMessage: AttributedString("I do not wish to take the trouble to understand mysticism"),
|
||||
lastMessageDate: nil,
|
||||
lastMessageFormattedTimestamp: "14:56",
|
||||
lastMessageDate: .mock,
|
||||
unreadMessagesCount: 0,
|
||||
unreadMentionsCount: 0,
|
||||
unreadNotificationsCount: 0,
|
||||
@@ -103,8 +102,7 @@ extension Array where Element == RoomSummary {
|
||||
avatarURL: nil,
|
||||
heroes: [],
|
||||
lastMessage: AttributedString("I do not wish to take the trouble to understand mysticism"),
|
||||
lastMessageDate: nil,
|
||||
lastMessageFormattedTimestamp: "14:56",
|
||||
lastMessageDate: .mock,
|
||||
unreadMessagesCount: 0,
|
||||
unreadMentionsCount: 0,
|
||||
unreadNotificationsCount: 0,
|
||||
@@ -122,8 +120,7 @@ extension Array where Element == RoomSummary {
|
||||
avatarURL: .mockMXCAvatar,
|
||||
heroes: [],
|
||||
lastMessage: AttributedString("How do you see the Emperor then? You think he keeps office hours?"),
|
||||
lastMessageDate: nil,
|
||||
lastMessageFormattedTimestamp: "2:56 PM",
|
||||
lastMessageDate: .mock,
|
||||
unreadMessagesCount: 2,
|
||||
unreadMentionsCount: 0,
|
||||
unreadNotificationsCount: 2,
|
||||
@@ -141,8 +138,7 @@ extension Array where Element == RoomSummary {
|
||||
avatarURL: nil,
|
||||
heroes: [],
|
||||
lastMessage: try? AttributedString(markdown: "He certainly seemed no *mental genius* to me"),
|
||||
lastMessageDate: nil,
|
||||
lastMessageFormattedTimestamp: "Some time ago",
|
||||
lastMessageDate: .mock,
|
||||
unreadMessagesCount: 3,
|
||||
unreadMentionsCount: 0,
|
||||
unreadNotificationsCount: 0,
|
||||
@@ -160,8 +156,7 @@ extension Array where Element == RoomSummary {
|
||||
avatarURL: nil,
|
||||
heroes: [],
|
||||
lastMessage: AttributedString("There's an archaic measure of time that's called the month"),
|
||||
lastMessageDate: nil,
|
||||
lastMessageFormattedTimestamp: "Just now",
|
||||
lastMessageDate: .mock,
|
||||
unreadMessagesCount: 2,
|
||||
unreadMentionsCount: 2,
|
||||
unreadNotificationsCount: 2,
|
||||
@@ -179,8 +174,7 @@ extension Array where Element == RoomSummary {
|
||||
avatarURL: nil,
|
||||
heroes: [],
|
||||
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: nil,
|
||||
lastMessageFormattedTimestamp: "1986",
|
||||
lastMessageDate: .mock,
|
||||
unreadMessagesCount: 1,
|
||||
unreadMentionsCount: 1,
|
||||
unreadNotificationsCount: 1,
|
||||
@@ -198,8 +192,7 @@ extension Array where Element == RoomSummary {
|
||||
avatarURL: nil,
|
||||
heroes: [],
|
||||
lastMessage: AttributedString("Are you groping for the word 'paranoia'?"),
|
||||
lastMessageDate: nil,
|
||||
lastMessageFormattedTimestamp: "きょうはじゅういちがつじゅういちにちです",
|
||||
lastMessageDate: .mock,
|
||||
unreadMessagesCount: 6,
|
||||
unreadMentionsCount: 0,
|
||||
unreadNotificationsCount: 0,
|
||||
@@ -218,7 +211,6 @@ extension Array where Element == RoomSummary {
|
||||
heroes: [],
|
||||
lastMessage: nil,
|
||||
lastMessageDate: nil,
|
||||
lastMessageFormattedTimestamp: nil,
|
||||
unreadMessagesCount: 0,
|
||||
unreadMentionsCount: 0,
|
||||
unreadNotificationsCount: 0,
|
||||
@@ -270,7 +262,6 @@ extension Array where Element == RoomSummary {
|
||||
heroes: [],
|
||||
lastMessage: nil,
|
||||
lastMessageDate: nil,
|
||||
lastMessageFormattedTimestamp: nil,
|
||||
unreadMessagesCount: 0,
|
||||
unreadMentionsCount: 0,
|
||||
unreadNotificationsCount: 0,
|
||||
@@ -289,7 +280,6 @@ extension Array where Element == RoomSummary {
|
||||
heroes: [],
|
||||
lastMessage: nil,
|
||||
lastMessageDate: nil,
|
||||
lastMessageFormattedTimestamp: nil,
|
||||
unreadMessagesCount: 0,
|
||||
unreadMentionsCount: 0,
|
||||
unreadNotificationsCount: 0,
|
||||
|
||||
Reference in New Issue
Block a user