/*
 * Copyright 2020-2024 New Vector Ltd.
 *
 * SPDX-License-Identifier: AGPL-3.0-only
 * Please see LICENSE in the repository root for full details.
 */

package im.vector.app.features.roomprofile.settings

import im.vector.app.core.platform.VectorViewEvents

/**
 * Transient events for room settings screen.
 */
sealed class RoomSettingsViewEvents : VectorViewEvents {
    data class Failure(val throwable: Throwable) : RoomSettingsViewEvents()
    object Success : RoomSettingsViewEvents()
    object GoBack : RoomSettingsViewEvents()
}
