From f49e8b0bdab8244c0736b62dcff6a3e19ff7e621 Mon Sep 17 00:00:00 2001 From: Bruno Windels Date: Wed, 12 Dec 2018 10:48:28 +0100 Subject: [PATCH] reduce in-view timeout to 1s --- src/components/structures/TimelinePanel.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/structures/TimelinePanel.js b/src/components/structures/TimelinePanel.js index af1a331287..ab10ec4aca 100644 --- a/src/components/structures/TimelinePanel.js +++ b/src/components/structures/TimelinePanel.js @@ -37,7 +37,7 @@ import Timer from '../../utils/Timer'; const PAGINATE_SIZE = 20; const INITIAL_SIZE = 20; -const READ_MARKER_INVIEW_THRESHOLD_MS = 10 * 1000; +const READ_MARKER_INVIEW_THRESHOLD_MS = 1 * 1000; const READ_MARKER_OUTOFVIEW_THRESHOLD_MS = 30 * 1000; const READ_RECEIPT_INTERVAL_MS = 500;