Look & feel for builtin chat.

This commit is contained in:
John Livingston 2021-02-20 23:29:07 +01:00
parent c932636634
commit 40d6ade8b6
2 changed files with 15 additions and 1 deletions

View File

@ -1,5 +1,11 @@
# Changelog
## v???
### Features
* Optional Builtin ConverseJS
## v0.0.8
### Features

View File

@ -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,