another.im-ios/old/AppCore/State/ConversationState.swift
2024-08-11 13:09:29 +02:00

16 lines
278 B
Swift

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