Skip to content
Snippets Groups Projects
Verified Commit a7f6cb0a authored by Jean-Baptiste Pasquier's avatar Jean-Baptiste Pasquier
Browse files

fix: change default loglevel and i18n

parent 7d6a82c6
No related branches found
Tags v0.6.2
No related merge requests found
Pipeline #5577 passed
......@@ -32,7 +32,7 @@ export const SibChat = {
},
i18n: {
type: String,
default: 'en',
default: 'fr',
},
boshServiceUrl: {
type: String
......@@ -195,6 +195,7 @@ export const SibChat = {
const idToken = await document.querySelector('sib-auth').getUserIdToken();
converse.initialize({
'assets_path': 'https://cdn.startinblox.com/converse/dist/',
'authentication': this.element.dataset.authentication,
'password': idToken,
'allow_chat_pending_contacts': true,
......@@ -211,6 +212,7 @@ export const SibChat = {
"clear_messages_on_reconnection": false,
'jid': jabberID.toLowerCase(),
'i18n': this.element.dataset.i18n,
'loglevel': 'fatal',
'message_archiving': 'always',
'message_archiving_timeout': 60000,
'muc_disable_slash_commands': true,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment