# HG changeset patch
# User Kim Alvefur <zash@zash.se>
# Date 1560715373 -7200
# Node ID 177a8b92204b260b8a3ccdb9a59c11fa4b274e4f
# Parent  0bc291a5734a5c354a0ab191ba7bd96f1547d7b4
mod_pep: Log node name instead of payload

Having the node logged is more useful and less problematic for privacy

diff -r 0bc291a5734a -r 177a8b92204b 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