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