mod_pep: Log node name instead of payload
authorKim Alvefur <zash@zash.se>
Sun, 16 Jun 2019 22:02:53 +0200
changeset 10051 177a8b92204b
parent 10050 0bc291a5734a
child 10052 e5532fbdd163
mod_pep: Log node name instead of payload Having the node logged is more useful and less problematic for privacy
plugins/mod_pep.lua
--- a/plugins/mod_pep.lua	Mon Jun 10 13:22:22 2019 +0200
+++ b/plugins/mod_pep.lua	Sun Jun 16 22:02:53 2019 +0200
@@ -159,7 +159,7 @@
 		end
 
 		for jid in pairs(jids) do
-			module:log("debug", "Sending notification to %s from %s: %s", jid, user_bare, tostring(item));
+			module:log("debug", "Sending notification to %s from %s for node %s", jid, user_bare, node);
 			message.attr.to = jid;
 			module:send(message);
 		end