comparison 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
comparison
equal deleted inserted replaced
3598:1921ae4449b8 3599:42fa833169bb
91 GET = function (event) 91 GET = function (event)
92 local converse_options = get_converse_options(); 92 local converse_options = get_converse_options();
93 93
94 event.response.headers.content_type = "text/html"; 94 event.response.headers.content_type = "text/html";
95 return render(html_template, { 95 return render(html_template, {
96 service_name = module:get_option_string("name");
96 header_scripts = { js_url }; 97 header_scripts = { js_url };
97 header_style = { css_url }; 98 header_style = { css_url };
98 header_tags = add_tags; 99 header_tags = add_tags;
99 conversejs = { 100 conversejs = {
100 options = converse_options; 101 options = converse_options;