diff -r 004d3bfc05ea -r 48125f2c358b mod_http_muc_log/mod_http_muc_log.lua --- a/mod_http_muc_log/mod_http_muc_log.lua Mon Sep 07 16:26:52 2015 +0200 +++ b/mod_http_muc_log/mod_http_muc_log.lua Mon Sep 07 16:27:26 2015 +0200 @@ -84,16 +84,25 @@ local room = nodeprep(path:match("^(.*)/$")); if not room or not public_room(room) then return end + local date_list = archive.dates and archive:dates(room); local dates = mt.new(); - module:log("debug", "Find all dates with messages"); - local next_day; - repeat - local when = find_once(room, { start = next_day; with = "message