From 2cd0c79e447eb4f3a3ba5015e1a05981814e15a1 Mon Sep 17 00:00:00 2001 From: Jean-Baptiste Pasquier Date: Wed, 26 Feb 2020 19:12:33 +0100 Subject: [PATCH] fix: revert setting --- sib-chat.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sib-chat.js b/sib-chat.js index b317e0f..499c7d1 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': 200, + 'archived_messages_page_size': 30, 'auto_list_rooms': true, 'auto_login': this.element.dataset.autoLogin === 'true', 'auto_join_on_invite': true, @@ -207,6 +207,7 @@ 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': { -- 2.22.2