diff mod_http_muc_log/mod_http_muc_log.lua @ 3714:04ff0de40ba9

mod_http_muc_log: Add date metadata to log pages
author Kim Alvefur <zash@zash.se>
date Sun, 13 Oct 2019 16:00:16 +0200
parents 7244ff1d62a8
children f03a023cd523
line wrap: on
line diff
--- a/mod_http_muc_log/mod_http_muc_log.lua	Sat Oct 12 19:42:37 2019 +0200
+++ b/mod_http_muc_log/mod_http_muc_log.lua	Sun Oct 13 16:00:16 2019 +0200
@@ -377,6 +377,7 @@
 	response.headers.content_type = "text/html; charset=utf-8";
 	return render(template, {
 		title = ("%s - %s"):format(get_room(room):get_name(), date);
+		date = date;
 		jid = get_room(room).jid;
 		jid_node = jid_split(get_room(room).jid);
 		hide_presence = hide_presence(request);