From 6a0923a33371637266fea3f35c8b34af6b82b6f2 Mon Sep 17 00:00:00 2001 From: Kegan Dougal Date: Wed, 15 Dec 2021 18:03:30 +0000 Subject: [PATCH] Set the timeline limit to 0 for room list entries --- src/matrix/Sync3.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/matrix/Sync3.ts b/src/matrix/Sync3.ts index bc6b35ad..7062f72b 100644 --- a/src/matrix/Sync3.ts +++ b/src/matrix/Sync3.ts @@ -37,7 +37,8 @@ const ROOM_LIST_STATE_EVENTS = [ ["m.room.avatar", ""], // don't need m.room.name etc as server calculates this for us ]; // the number of timeline events to get for every visible room in the left panel room list -const ROOM_LIST_TIMELINE_LIMIT = 1; +// THIS HAS TO BE ZERO FOR SCROLLBACK TO WORK ON ROOM SUBSCRIPTIONS +const ROOM_LIST_TIMELINE_LIMIT = 0; // the state events which will be returned for every currently visible room on the central panel const ROOM_SUB_STATE_EVENTS = [ ["m.room.avatar", ""],