Software /
code /
prosody-modules
Changeset
2934:5c60df8b1a07
mod_conversejs: Pass information about if and how of account registration
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Fri, 16 Mar 2018 20:35:14 +0100 |
parents | 2933:8858cef9ed27 |
children | 2935:7319fd5dbc89 |
files | mod_conversejs/mod_conversejs.lua |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/mod_conversejs/mod_conversejs.lua Fri Mar 16 20:32:35 2018 +0100 +++ b/mod_conversejs/mod_conversejs.lua Fri Mar 16 20:35:14 2018 +0100 @@ -28,6 +28,8 @@ authentication = module:get_option_string("authentication") == "anonymous" and "anonymous" or "login"; jid = module.host; default_domain = module.host; + domain_placeholder = module.host; + allow_registration = module:get_option_boolean("allow_registration", false); }; local view_mode_css = "converse";