package com.rosetta.messenger.session

import com.rosetta.messenger.data.DecryptedAccount

sealed interface SessionAction {
    data class LoggedOut(val reason: String = "") : SessionAction

    data class AuthInProgress(
        val publicKey: String? = null,
        val reason: String = ""
    ) : SessionAction

    data class Ready(
        val account: DecryptedAccount,
        val reason: String = ""
    ) : SessionAction

    data class SyncFromCachedAccount(val account: DecryptedAccount?) : SessionAction
}
