Diff

mod_mam_muc/mod_mam_muc.lua @ 1547:e98c335c6554

mod_mam_muc: Limit search to groupchat messages (we use the internal 'with' field stanza types)
author Kim Alvefur <zash@zash.se>
date Sat, 08 Nov 2014 15:46:47 +0100
parent 1546:fff2858c554f
child 1548:d3c847070618
line wrap: on
line diff
--- a/mod_mam_muc/mod_mam_muc.lua	Sat Nov 08 15:45:19 2014 +0100
+++ b/mod_mam_muc/mod_mam_muc.lua	Sat Nov 08 15:46:47 2014 +0100
@@ -195,6 +195,7 @@
 		before = before; after = after;
 		reverse = reverse;
 		total = true;
+		with = "message<groupchat";
 	});
 
 	if not data then