another.im-ios/ConversationsClassic/AppCore/State/ConversationState.swift
2024-06-26 08:51:56 +02:00

13 lines
228 B
Swift

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