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

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])
}