Add converse.js as web client

This commit is contained in:
2022-07-02 15:12:41 +02:00
parent c0519dd6a8
commit e1ec4b9a8d
4 changed files with 13 additions and 5 deletions

View File

@ -96,6 +96,7 @@ modules_enabled = {
"conversejs";
"http_altconnect";
"external_services";
"conversejs";
}
-- These modules are auto-loaded, but should you want
@ -287,8 +288,15 @@ external_services = {
secret = "YOUR_SECRET"
}
}
cross_domain_bosh = true
cross_domain_websocket = true
conversejs_resources = "/srv/conversejs/dist";
conversejs_options = {
view_mode = "fullscreen";
allow_non_roster_messaging = true;
clear_cache_on_logout = true;
default_domain = "danwin1210.de";
enable_smacks = true;
muc_domain = "conference.danwin1210.de";
}
VirtualHost "danwin1210.de"