another.im-ios/ConversationsClassic/AppCore/State/ConversationState.swift
2024-07-02 10:32:14 +02:00

18 lines
356 B
Swift

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