Software /
code /
prosody-modules
Changeset
2933:8858cef9ed27
mod_conversejs: Pass current domain as 'default_domain'
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Fri, 16 Mar 2018 20:32:35 +0100 |
parents | 2932:4bb3a4b726c9 |
children | 2934:5c60df8b1a07 |
files | mod_conversejs/mod_conversejs.lua |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/mod_conversejs/mod_conversejs.lua Thu Mar 15 23:44:35 2018 +0100 +++ b/mod_conversejs/mod_conversejs.lua Fri Mar 16 20:32:35 2018 +0100 @@ -27,6 +27,7 @@ websocket_url = has_ws and module:http_url("websocket","xmpp-websocket"):gsub("^http", "ws") or nil; authentication = module:get_option_string("authentication") == "anonymous" and "anonymous" or "login"; jid = module.host; + default_domain = module.host; }; local view_mode_css = "converse";