From 3fea08d770cb1601abcfa9de3c8b593be6bbe3dd Mon Sep 17 00:00:00 2001
From: Jean-Baptiste Pasquier <contact@jbpasquier.eu>
Date: Thu, 17 Oct 2019 22:19:59 +0200
Subject: [PATCH] fix: message on reconnection

---
 sib-chat.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sib-chat.js b/sib-chat.js
index fd97af7..64abbaf 100644
--- a/sib-chat.js
+++ b/sib-chat.js
@@ -207,7 +207,7 @@ export const SibChat = {
       'auto_join_private_chats': [],
       'auto_join_rooms': [],
       'bosh_service_url': this.element.dataset.boshServiceUrl,
-      'clear_messages_on_reconnection': true,
+      // 'clear_messages_on_reconnection': true,
       'i18n': 'en',
       'jid': jabberID.toLowerCase(),
       'locales_url': this.element.dataset.localesUrl,
-- 
GitLab