Add iOS message date grouping
This commit is contained in:
@@ -96,6 +96,7 @@ public struct Message: Identifiable, Equatable, Sendable {
|
||||
public var chatId: Int64
|
||||
public var senderName: String
|
||||
public var text: String
|
||||
public var date: Int32
|
||||
public var isOutgoing: Bool
|
||||
public var isRead: Bool
|
||||
public var editDate: Int32?
|
||||
@@ -108,6 +109,7 @@ public struct Message: Identifiable, Equatable, Sendable {
|
||||
chatId: Int64,
|
||||
senderName: String,
|
||||
text: String,
|
||||
date: Int32 = 0,
|
||||
isOutgoing: Bool,
|
||||
isRead: Bool = true,
|
||||
editDate: Int32? = nil,
|
||||
@@ -119,6 +121,7 @@ public struct Message: Identifiable, Equatable, Sendable {
|
||||
self.chatId = chatId
|
||||
self.senderName = senderName
|
||||
self.text = text
|
||||
self.date = date
|
||||
self.isOutgoing = isOutgoing
|
||||
self.isRead = isRead
|
||||
self.editDate = editDate
|
||||
|
||||
Reference in New Issue
Block a user