Commit bf69b15b authored by Jean-Baptiste Pasquier's avatar Jean-Baptiste Pasquier

update: migrate to converse 6.0

parent 74c6829b
Pipeline #7108 passed with stage
in 1 minute and 22 seconds
import 'https://unpkg.com/converse.js@5.0/dist/converse.min.js';
import 'https://unpkg.com/converse.js@5.0/dist/emojis.js';
import 'https://cdn.happy-dev.fr/conversejs/dist/converse.min.js';
import 'https://cdn.happy-dev.fr/conversejs/dist/emojis.js';
import { Helpers, store } from 'https://unpkg.com/@startinblox/core@0.9';
import { Sib } from "https://unpkg.com/@startinblox/core@0.9/dist/libs/Sib.js";
import { StoreMixin } from 'https://unpkg.com/@startinblox/core@0.9/dist/mixins/storeMixin.js';
......@@ -46,7 +46,7 @@ export const SibChat = {
mode: "open"
});
this.element.shadowRoot.append(...Helpers.importCSS(
'https://unpkg.com/converse.js@5.0/dist/converse.css',
'https://cdn.happy-dev.fr/conversejs/dist/converse.min.css',
'https://unpkg.com/@startinblox/component-chat@0.4/themes/converse-hd.css'
));
if (window.converse_sib === undefined) {
......@@ -223,7 +223,7 @@ export const SibChat = {
// 'use_system_emojis': false,
// 'show_send_button': true,
'singleton': true,
'sounds_path': 'https://unpkg.com/converse.js@5.0/sounds/',
'sounds_path': 'https://cdn.happy-dev.fr/conversejs/sounds/',
'view_mode': 'embedded',
'visible_toolbar_buttons': {
call: false,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment