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