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
commit027554ebcca06ab7fcf923c03089f82658adf990 (patch)
treee0ee9d0d6d1b2caf77e69f748a3e04c05b4b5604
parent0269157c4511472cf0bf377d84f6e99876f83d12 (diff)
downloadprosody-027554ebcca06ab7fcf923c03089f82658adf990.tar.gz
prosody-027554ebcca06ab7fcf923c03089f82658adf990.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