another.im-ios/ConversationsClassic/AppCore/State/ConversationState.swift

12 lines
197 B
Swift
Raw Normal View History

2024-06-21 10:32:16 +00:00
struct ConversationState: Stateable {
var currentChat: Chat?
2024-06-24 10:44:55 +00:00
var currentMessages: [Message]
2024-06-21 10:32:16 +00:00
}
// MARK: Init
extension ConversationState {
init() {
2024-06-24 10:44:55 +00:00
currentMessages = []
2024-06-21 10:32:16 +00:00
}
}