- adopt the new timeline configuration which now exposes read receipts tracking. For now it should be set to `false` for all timelines except the live one, which still gets configured properly on the rust side through `init_timeline`. Eventually we will converge on this configuration API for all of them. - also adopt the new rust side cache clearing method and remove our own
18 lines
551 B
Swift
18 lines
551 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
|
|
|
|
/// A preview object for the Room. useful to get all the possible info for rooms to which the user is not invited to
|
|
protocol RoomPreviewProxyProtocol {
|
|
var info: RoomPreviewInfoProxy { get }
|
|
var ownMembershipDetails: RoomMembershipDetailsProxyProtocol? { get async }
|
|
}
|
|
|
|
// sourcery: AutoMockable
|
|
extension RoomPreviewProxyProtocol { }
|