Skip to content

Commit 89a92c6

Browse files
authored
Bump pagination sizes due to hidden events (matrix-org#11342)
Such as threaded events in the main timeline causing no events to be added to the timeline
1 parent 053b564 commit 89a92c6

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/components/structures/TimelinePanel.tsx

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,10 @@ import { getKeyBindingsManager } from "../../KeyBindingsManager";
5858
import { KeyBindingAction } from "../../accessibility/KeyboardShortcuts";
5959
import { haveRendererForEvent } from "../../events/EventTileFactory";
6060

61-
const PAGINATE_SIZE = 20;
62-
const INITIAL_SIZE = 20;
61+
// These pagination sizes are higher than they may possibly need be
62+
// once https://github.com/matrix-org/matrix-spec-proposals/pull/3874 lands
63+
const PAGINATE_SIZE = 50;
64+
const INITIAL_SIZE = 30;
6365
const READ_RECEIPT_INTERVAL_MS = 500;
6466

6567
const READ_MARKER_DEBOUNCE_MS = 100;

0 commit comments

Comments
 (0)