Drop the timeline limit to 1 on the visible rooms sliding sync view

This commit is contained in:
Stefan Ceriu
2023-01-26 12:06:40 +02:00
committed by Stefan Ceriu
parent b6a89da254
commit 05ea8b1894

View File

@@ -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")