another.im-ios/ConversationsClassic/AppCore/State/ConversationState.swift
2024-08-08 00:27:47 +02:00

19 lines
361 B
Swift

struct ConversationState: Stateable {
var currentChat: Chat?
var currentRoster: Roster?
var currentMessages: [Message]
var replyText: String
var archivedMessagesRequested: Bool
}
// MARK: Init
extension ConversationState {
init() {
currentMessages = []
replyText = ""
archivedMessagesRequested = false
}
}