2024-06-21 10:32:16 +00:00
|
|
|
struct ConversationState: Stateable {
|
|
|
|
var currentChat: Chat?
|
2024-06-24 10:44:55 +00:00
|
|
|
var currentMessages: [Message]
|
2024-06-21 10:32:16 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
// MARK: Init
|
|
|
|
extension ConversationState {
|
|
|
|
init() {
|
2024-06-24 10:44:55 +00:00
|
|
|
currentMessages = []
|
2024-06-21 10:32:16 +00:00
|
|
|
}
|
|
|
|
}
|