From 2471c48ba614d8542612bddc756d6025219a33ad Mon Sep 17 00:00:00 2001 From: Michael Telatynski <7t3chguy@gmail.com> Date: Mon, 31 Jul 2023 10:48:06 +0100 Subject: [PATCH] Bump pagination sizes due to hidden events Such as threaded events in the main timeline causing no events to be added to the timeline --- src/components/structures/TimelinePanel.tsx | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/components/structures/TimelinePanel.tsx b/src/components/structures/TimelinePanel.tsx index 14c4b952b7b..e70f5ad8d22 100644 --- a/src/components/structures/TimelinePanel.tsx +++ b/src/components/structures/TimelinePanel.tsx @@ -58,8 +58,10 @@ import { getKeyBindingsManager } from "../../KeyBindingsManager"; import { KeyBindingAction } from "../../accessibility/KeyboardShortcuts"; import { haveRendererForEvent } from "../../events/EventTileFactory"; -const PAGINATE_SIZE = 20; -const INITIAL_SIZE = 20; +// These pagination sizes are higher than they may possibly need be +// once https://github.com/matrix-org/matrix-spec-proposals/pull/3874 lands +const PAGINATE_SIZE = 50; +const INITIAL_SIZE = 30; const READ_RECEIPT_INTERVAL_MS = 500; const READ_MARKER_DEBOUNCE_MS = 100;