aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2019-06-16 22:02:53 +0200
committerKim Alvefur <zash@zash.se>2019-06-16 22:02:53 +0200
commit9935e64396d1c225083a1d8585027183a1cf0151 (patch)
treee0ee9d0d6d1b2caf77e69f748a3e04c05b4b5604
parent5eba0ea836d508aeb3087a7d93f6e90cc1f92de8 (diff)
downloadprosody-9935e64396d1c225083a1d8585027183a1cf0151.tar.gz
prosody-9935e64396d1c225083a1d8585027183a1cf0151.zip
mod_pep: Log node name instead of payload
Having the node logged is more useful and less problematic for privacy
-rw-r--r--plugins/mod_pep.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/mod_pep.lua b/plugins/mod_pep.lua
index f06f1753..54f0451d 100644
--- a/plugins/mod_pep.lua
+++ b/plugins/mod_pep.lua
@@ -159,7 +159,7 @@ local function get_broadcaster(username)
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