Mercurial > prosody-modules
diff mod_conversejs/mod_conversejs.lua @ 3599:42fa833169bb
mod_conversejs: Make title configurable (fixes #1362)
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Thu, 16 May 2019 08:45:44 +0200 |
parents | 1921ae4449b8 |
children | 58b49d883f0c |
line wrap: on
line diff
--- a/mod_conversejs/mod_conversejs.lua Thu May 16 08:45:41 2019 +0200 +++ b/mod_conversejs/mod_conversejs.lua Thu May 16 08:45:44 2019 +0200 @@ -93,6 +93,7 @@ event.response.headers.content_type = "text/html"; return render(html_template, { + service_name = module:get_option_string("name"); header_scripts = { js_url }; header_style = { css_url }; header_tags = add_tags;