From 3cd09dc3fe3a3fe5b0597b0d6996d15250aa876e Mon Sep 17 00:00:00 2001 From: Stefan Ceriu Date: Fri, 16 Dec 2022 14:12:13 +0200 Subject: [PATCH] Fix build error --- ElementX/Sources/Services/Client/MockClientProxy.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ElementX/Sources/Services/Client/MockClientProxy.swift b/ElementX/Sources/Services/Client/MockClientProxy.swift index 0651b778c2..17ecdafee5 100644 --- a/ElementX/Sources/Services/Client/MockClientProxy.swift +++ b/ElementX/Sources/Services/Client/MockClientProxy.swift @@ -43,7 +43,7 @@ class MockClientProxy: ClientProxyProtocol { func restartSync() { } func roomForIdentifier(_ identifier: String) async -> RoomProxyProtocol? { - guard let room = roomSummaryProvider?.roomListPublisher.value.first(where: { $0.id == identifier }), + guard let room = visibleRoomsSummaryProvider?.roomListPublisher.value.first(where: { $0.id == identifier }), let displayName = room.asFilled?.name else { return nil }