13 lines
376 B
Swift
13 lines
376 B
Swift
enum AccountsAction: Codable {
|
|
case accountsListUpdated(accounts: [Account])
|
|
|
|
case goTo(AccountNavigationState)
|
|
|
|
case tryAddAccountWithCredentials(login: String, password: String)
|
|
case addAccountError(jid: String, reason: String?)
|
|
|
|
case makeAccountPermanent(account: Account)
|
|
|
|
case clientServerFeaturesUpdated(jid: String, features: [ServerFeature])
|
|
}
|