From 6edea60cd130c8e4f1dc86ade3d7c60111e4c30d Mon Sep 17 00:00:00 2001
From: Jean-Baptiste Pasquier <contact@jbpasquier.eu>
Date: Wed, 26 Feb 2020 18:45:25 +0100
Subject: [PATCH] update: set archived_messages_page_size to 200

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

diff --git a/sib-chat.js b/sib-chat.js
index 9f8f8e9..b317e0f 100644
--- a/sib-chat.js
+++ b/sib-chat.js
@@ -184,7 +184,7 @@ export const SibChat = {
       'allow_non_roster_messaging': true,
       'allow_dragresize': false,
       'allow_logout': false,
-      // 'archived_messages_page_size': 30,
+      'archived_messages_page_size': 200,
       'auto_list_rooms': true,
       'auto_login': this.element.dataset.autoLogin === 'true',
       'auto_join_on_invite': true,
@@ -207,7 +207,6 @@ export const SibChat = {
       'show_desktop_notifications': false,
       // 'use_system_emojis': false,
       // 'show_send_button': true,
-      'singleton': true,
       'sounds_path': 'https://cdn.happy-dev.fr/conversejs/sounds/',
       'view_mode': 'fullscreen',
       'visible_toolbar_buttons': {
-- 
GitLab