Changeset

10047:177a8b92204b

mod_pep: Log node name instead of payload Having the node logged is more useful and less problematic for privacy
author Kim Alvefur <zash@zash.se>
date Sun, 16 Jun 2019 22:02:53 +0200
parents 10046:0bc291a5734a
children 10048:e5532fbdd163
files plugins/mod_pep.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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