mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-02 12:07:55 +00:00
Bump SDK to v1.0.107-alpha. Simplify syncService state handling
This commit is contained in:
committed by
Stefan Ceriu
parent
8d409e7817
commit
5400910855
@@ -32,8 +32,6 @@ class MockClientProxy: ClientProxyProtocol {
|
||||
|
||||
var avatarURLPublisher: AnyPublisher<URL?, Never> { Empty().eraseToAnyPublisher() }
|
||||
|
||||
var isSyncing: Bool { false }
|
||||
|
||||
init(userID: String, deviceID: String? = nil, roomSummaryProvider: RoomSummaryProviderProtocol? = MockRoomSummaryProvider()) {
|
||||
self.userID = userID
|
||||
self.deviceID = deviceID
|
||||
@@ -46,7 +44,7 @@ class MockClientProxy: ClientProxyProtocol {
|
||||
|
||||
func stopSync(completionHandler: () -> Void) { }
|
||||
|
||||
func pauseSync() { }
|
||||
func stopSync() { }
|
||||
|
||||
func directRoomForUserID(_ userID: String) async -> Result<String?, ClientProxyError> {
|
||||
.failure(.failedRetrievingDirectRoom)
|
||||
|
||||
Reference in New Issue
Block a user