plugins/mod_mam/mod_mam.lua
changeset 10081 c0702a1534cb
parent 10080 ee85cea08127
child 10082 44371850c6b0
--- a/plugins/mod_mam/mod_mam.lua	Thu Jul 11 23:27:01 2019 +0200
+++ b/plugins/mod_mam/mod_mam.lua	Thu Jul 11 23:27:45 2019 +0200
@@ -131,6 +131,9 @@
 	local reverse = qset and qset.before or false;
 	local before, after = qset and qset.before, qset and qset.after;
 	if type(before) ~= "string" then before = nil; end
+	if qset then
+		module:log("debug", "Archive query id=%s rsm=%q", qid or stanza.attr.id, qset);
+	end
 
 	-- Load all the data!
 	local data, err = archive:find(origin.username, {