From 05ea8b1894b6ddb50c5410ec42e61691ab94d021 Mon Sep 17 00:00:00 2001 From: Stefan Ceriu Date: Thu, 26 Jan 2023 12:06:40 +0200 Subject: [PATCH] Drop the timeline limit to 1 on the visible rooms sliding sync view --- ElementX/Sources/Services/Client/ClientProxy.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ElementX/Sources/Services/Client/ClientProxy.swift b/ElementX/Sources/Services/Client/ClientProxy.swift index 5e202028e..0912e45e2 100644 --- a/ElementX/Sources/Services/Client/ClientProxy.swift +++ b/ElementX/Sources/Services/Client/ClientProxy.swift @@ -252,7 +252,7 @@ class ClientProxy: ClientProxyProtocol { // Build the visibleRoomsSlidingSyncView here so that it can take advantage of the SS builder cold cache // We will still register the allRoomsSlidingSyncView later, and than will have no cache let visibleRoomsView = try SlidingSyncViewBuilder() - .timelineLimit(limit: 20) + .timelineLimit(limit: 1) .requiredState(requiredState: slidingSyncRequiredState) .filters(filters: slidingSyncFilters) .name(name: "CurrentlyVisibleRooms")