mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-02 12:07:55 +00:00
8577f53613
- expose the full RoomPreview and RoomMembershipDetails through their own proxies - implement standard mocks for all the different combinations - converge on a single room info provider - rebuild all the previews - prioritise the preview data over the room one.
15 lines
394 B
Swift
15 lines
394 B
Swift
//
|
|
// Copyright 2024 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 Foundation
|
|
|
|
// sourcery: AutoMockable
|
|
protocol RoomPreviewProxyProtocol {
|
|
var info: RoomPreviewInfoProxy { get }
|
|
var ownMembershipDetails: RoomMembershipDetailsProxyProtocol? { get async }
|
|
}
|