conversations-classic-ios/ConversationsClassic/AppCore/Actions/AccountsActions.swift
2024-07-22 14:02:33 +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])
}