mod_pep: Log node name instead of payload
Having the node logged is more useful and less problematic for privacy
--- 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