Comparison

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
parent 3703:7244ff1d62a8
child 3715:f03a023cd523
comparison
equal deleted inserted replaced
3713:53fc4b612fb2 3714:04ff0de40ba9
375 end 375 end
376 376
377 response.headers.content_type = "text/html; charset=utf-8"; 377 response.headers.content_type = "text/html; charset=utf-8";
378 return render(template, { 378 return render(template, {
379 title = ("%s - %s"):format(get_room(room):get_name(), date); 379 title = ("%s - %s"):format(get_room(room):get_name(), date);
380 date = date;
380 jid = get_room(room).jid; 381 jid = get_room(room).jid;
381 jid_node = jid_split(get_room(room).jid); 382 jid_node = jid_split(get_room(room).jid);
382 hide_presence = hide_presence(request); 383 hide_presence = hide_presence(request);
383 presence_available = presence_logged; 384 presence_available = presence_logged;
384 lang = get_room(room).get_language and get_room(room):get_language(); 385 lang = get_room(room).get_language and get_room(room):get_language();