# HG changeset patch # User Kim Alvefur # Date 1521228914 -3600 # Node ID 5c60df8b1a07f53aeaa911e08e7b396762e89bc1 # Parent 8858cef9ed2701f78831a08fc071e04da57ee98d mod_conversejs: Pass information about if and how of account registration diff -r 8858cef9ed27 -r 5c60df8b1a07 mod_conversejs/mod_conversejs.lua --- 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";