Look & feel for builtin chat.
This commit is contained in:
parent
c932636634
commit
40d6ade8b6
@ -1,5 +1,11 @@
|
||||
# Changelog
|
||||
|
||||
## v???
|
||||
|
||||
### Features
|
||||
|
||||
* Optional Builtin ConverseJS
|
||||
|
||||
## v0.0.8
|
||||
|
||||
### Features
|
||||
|
@ -1,3 +1,11 @@
|
||||
function inIframe () {
|
||||
try {
|
||||
return window.self !== window.top
|
||||
} catch (e) {
|
||||
return true
|
||||
}
|
||||
}
|
||||
|
||||
window.initConverse = function initConverse ({
|
||||
jid,
|
||||
assetsPath,
|
||||
@ -22,7 +30,7 @@ window.initConverse = function initConverse ({
|
||||
],
|
||||
singleton: true,
|
||||
auto_focus: false,
|
||||
hide_muc_participants: false,
|
||||
hide_muc_participants: inIframe,
|
||||
keepalive: true,
|
||||
play_sounds: false,
|
||||
muc_mention_autocomplete_min_chars: 3,
|
||||
|
Loading…
Reference in New Issue
Block a user