diff mod_http_muc_log/mod_http_muc_log.lua @ 1553:1398d2bbcd42

mod_http_muc_log: List only dates with messages
author Kim Alvefur <zash@zash.se>
date Sun, 09 Nov 2014 08:34:52 +0100
parents 81b3599c02fb
children 8059b7cdaf17
line wrap: on
line diff
--- a/mod_http_muc_log/mod_http_muc_log.lua	Sun Nov 09 08:32:43 2014 +0100
+++ b/mod_http_muc_log/mod_http_muc_log.lua	Sun Nov 09 08:34:52 2014 +0100
@@ -152,6 +152,7 @@
 		local iter = archive:find(room, {
 			["start"] = next_day;
 			limit = 1;
+			with = "message<groupchat";
 		})
 		if not iter then break end
 		next_day = nil;