Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
SiB Chat
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
51
Issues
51
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Container Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Startin blox
components
SiB Chat
Compare Revisions
v0.4.10...v0.4.11
Source
v0.4.11
Select Git revision
...
Target
v0.4.10
Select Git revision
Compare
Commits (2)
update: migrate to converse 6.0
· bf69b15b
Jean-Baptiste Pasquier
authored
Jan 20, 2020
bf69b15b
fix: update message_archiving_timeout to 60000
· c2de9e2c
Jean-Baptiste Pasquier
authored
Jan 20, 2020
c2de9e2c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
sib-chat.js
sib-chat.js
+5
-4
No files found.
sib-chat.js
View file @
c2de9e2c
import
'
https://
unpkg.com/converse.js@5.0
/dist/converse.min.js
'
;
import
'
https://
cdn.happy-dev.fr/conversejs
/dist/converse.min.js
'
;
import
'
https://
unpkg.com/converse.js@5.0
/dist/emojis.js
'
;
import
'
https://
cdn.happy-dev.fr/conversejs
/dist/emojis.js
'
;
import
{
Helpers
,
store
}
from
'
https://unpkg.com/@startinblox/core@0.9
'
;
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
{
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
'
;
import
{
StoreMixin
}
from
'
https://unpkg.com/@startinblox/core@0.9/dist/mixins/storeMixin.js
'
;
...
@@ -46,7 +46,7 @@ export const SibChat = {
...
@@ -46,7 +46,7 @@ export const SibChat = {
mode
:
"
open
"
mode
:
"
open
"
});
});
this
.
element
.
shadowRoot
.
append
(...
Helpers
.
importCSS
(
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
'
'
https://unpkg.com/@startinblox/component-chat@0.4/themes/converse-hd.css
'
));
));
if
(
window
.
converse_sib
===
undefined
)
{
if
(
window
.
converse_sib
===
undefined
)
{
...
@@ -212,6 +212,7 @@ export const SibChat = {
...
@@ -212,6 +212,7 @@ export const SibChat = {
'
jid
'
:
jabberID
.
toLowerCase
(),
'
jid
'
:
jabberID
.
toLowerCase
(),
'
locales_url
'
:
this
.
element
.
dataset
.
localesUrl
,
'
locales_url
'
:
this
.
element
.
dataset
.
localesUrl
,
'
message_archiving
'
:
'
always
'
,
'
message_archiving
'
:
'
always
'
,
'
message_archiving_timeout
'
:
60000
,
'
muc_disable_slash_commands
'
:
true
,
'
muc_disable_slash_commands
'
:
true
,
'
muc_nickname_from_jid
'
:
true
,
'
muc_nickname_from_jid
'
:
true
,
'
muc_show_join_leave
'
:
false
,
'
muc_show_join_leave
'
:
false
,
...
@@ -223,7 +224,7 @@ export const SibChat = {
...
@@ -223,7 +224,7 @@ export const SibChat = {
// 'use_system_emojis': false,
// 'use_system_emojis': false,
// 'show_send_button': true,
// 'show_send_button': true,
'
singleton
'
:
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
'
,
'
view_mode
'
:
'
embedded
'
,
'
visible_toolbar_buttons
'
:
{
'
visible_toolbar_buttons
'
:
{
call
:
false
,
call
:
false
,
...
...