Diff

mod_http_muc_log/mod_http_muc_log.lua @ 3692:96c6d9b0969f

mod_http_muc_log: Hide room join link from room listing Node-less MUC is a secret non-standard hack anyways
author Kim Alvefur <zash@zash.se>
date Mon, 30 Sep 2019 00:51:05 +0200
parent 3690:8c0a6d4541d5
child 3702:caf27826c7b2
line wrap: on
line diff
--- a/mod_http_muc_log/mod_http_muc_log.lua	Mon Sep 30 00:47:15 2019 +0200
+++ b/mod_http_muc_log/mod_http_muc_log.lua	Mon Sep 30 00:51:05 2019 +0200
@@ -242,6 +242,7 @@
 	return render(template, {
 		title = get_room(room):get_name();
 		jid = get_room(room).jid;
+		jid_node = jid_split(get_room(room).jid);
 		hide_presence = hide_presence(request);
 		presence_available = presence_logged;
 		years = years;
@@ -373,6 +374,7 @@
 	return render(template, {
 		title = ("%s - %s"):format(get_room(room):get_name(), date);
 		jid = get_room(room).jid;
+		jid_node = jid_split(get_room(room).jid);
 		hide_presence = hide_presence(request);
 		presence_available = presence_logged;
 		lines = logs;