mod_http_muc_log/mod_http_muc_log.lua
changeset 3706 caf27826c7b2
parent 3696 96c6d9b0969f
child 3707 7244ff1d62a8
--- a/mod_http_muc_log/mod_http_muc_log.lua	Wed Oct 09 21:24:11 2019 +0200
+++ b/mod_http_muc_log/mod_http_muc_log.lua	Wed Oct 09 21:36:23 2019 +0200
@@ -377,6 +377,7 @@
 		jid_node = jid_split(get_room(room).jid);
 		hide_presence = hide_presence(request);
 		presence_available = presence_logged;
+		lang = get_room(room).get_language and get_room(room):get_language();
 		lines = logs;
 		links = links;
 	});
@@ -391,6 +392,7 @@
 				jid = room.jid;
 				href = get_link(jid_split(room.jid), default_view);
 				name = room:get_name();
+				lang = room.get_language and room:get_language();
 				description = room:get_description();
 			}, i + 1;
 		end