diff --git a/sib-chat.js b/sib-chat.js index b317e0f3c88b99d10415daa0064bcf06ff0ce679..499c7d1aa6cb69ecac819648adbf9e61257edcbc 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': {