about summary refs log tree commit diff
path: root/app/javascript/mastodon/actions
diff options
context:
space:
mode:
authorClaire <claire.github-309c@sitedethib.com>2022-04-07 16:08:17 +0200
committerGitHub <noreply@github.com>2022-04-07 16:08:17 +0200
commitebe01ea194104b14af6cd6abe6d20637f1a3e140 (patch)
treefc9577333d2b0a6b798325c249584967119f9171 /app/javascript/mastodon/actions
parentce9dcbea32e7212dc19d83bbb7a21afe8756ced0 (diff)
Fix potentially missing statuses when reconnecting to websocket (#17981)
* Fix potentially missing statuses when reconnecting to websocket

* Add gap on reconnect rather than maintaining it constantly
Diffstat (limited to 'app/javascript/mastodon/actions')
-rw-r--r--app/javascript/mastodon/actions/timelines.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/javascript/mastodon/actions/timelines.js b/app/javascript/mastodon/actions/timelines.js
index 31ae09e4a..8bbaa104a 100644
--- a/app/javascript/mastodon/actions/timelines.js
+++ b/app/javascript/mastodon/actions/timelines.js
@@ -184,6 +184,7 @@ export function connectTimeline(timeline) {
   return {
     type: TIMELINE_CONNECT,
     timeline,
+    usePendingItems: preferPendingItems,
   };
 };