# HG changeset patch # User Kim Alvefur # Date 1511256635 -3600 # Node ID 7eb23a4e7fdeb93c24fe23ed68f604a83ede1be8 # Parent 0de6ed2ae9bdab8b794ca11e226155ebc831411b mod_http_muc_log: Generate empty pages in lazy mode, so that one can navigate past quiet days diff -r 0de6ed2ae9bd -r 7eb23a4e7fde mod_http_muc_log/mod_http_muc_log.lua --- a/mod_http_muc_log/mod_http_muc_log.lua Tue Nov 21 00:48:05 2017 +0100 +++ b/mod_http_muc_log/mod_http_muc_log.lua Tue Nov 21 10:30:35 2017 +0100 @@ -230,7 +230,7 @@ first = first or key; last = key; end - if i == 1 then return end -- No items + if i == 1 and not lazy then return end -- No items local next_when, prev_when = "", ""; local date_list = archive.dates and archive:dates(room);