From dcce55a849011adddc2e8f0f18a899e7505648b6 Mon Sep 17 00:00:00 2001 From: ubermanu <e.vodor@gmail.com> Date: Mon, 15 Mar 2021 19:09:59 +0100 Subject: [PATCH] bugfix: disable the local storage sync event --- src/plugins/sib-history-improved.js | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/plugins/sib-history-improved.js b/src/plugins/sib-history-improved.js index f09ff47..72b75ea 100644 --- a/src/plugins/sib-history-improved.js +++ b/src/plugins/sib-history-improved.js @@ -34,6 +34,14 @@ converse.plugins.add('sib-history-improved', { } }, }, + ChatBox: { + /** + * Disable this event handler. + * Causes the history to be fetched twice for private chats. + */ + afterMessagesFetched() { + }, + }, }, initialize() { const _converse = this._converse; -- GitLab