another.im-ios/ConversationsClassic/AppCore/State/ConversationState.swift
2024-07-11 17:46:57 +02:00

18 lines
351 B
Swift

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