* Add the JoinRoomScreen into the SpaceFlowCoordinator. The screen needs further work to make the join work. * Fix the tests completing the join flow with the right action.
24 lines
638 B
Swift
24 lines
638 B
Swift
//
|
|
// Copyright 2025 New Vector Ltd.
|
|
//
|
|
// SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
|
|
// Please see LICENSE files in the repository root for full details.
|
|
//
|
|
|
|
import Combine
|
|
import MatrixRustSDK
|
|
|
|
enum SpaceRoomListProxyError: Error {
|
|
case missingSpace
|
|
}
|
|
|
|
// sourcery: AutoMockable
|
|
protocol SpaceRoomListProxyProtocol {
|
|
var spaceRoomProxy: SpaceRoomProxyProtocol { get }
|
|
|
|
var spaceRoomsPublisher: CurrentValuePublisher<[SpaceRoomProxyProtocol], Never> { get }
|
|
var paginationStatePublisher: CurrentValuePublisher<SpaceRoomListPaginationState, Never> { get }
|
|
|
|
func paginate() async
|
|
}
|