16 lines
369 B
Swift
16 lines
369 B
Swift
import Foundation
|
|
|
|
@MainActor
|
|
final class ConversationStore: ObservableObject {
|
|
@Published private(set) var roster: Roster
|
|
@Published private(set) var messages: [String] = []
|
|
@Published private(set) var test = true
|
|
|
|
private let client: Client
|
|
|
|
init(roster: Roster, client: Client) {
|
|
self.client = client
|
|
self.roster = roster
|
|
}
|
|
}
|