diff options
author | Kim Alvefur <zash@zash.se> | 2021-07-25 14:01:45 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2021-07-25 14:01:45 +0200 |
commit | 4dc5192c99ce2739952ab77b386f76b987f52dc2 (patch) | |
tree | 7585ef63b6fc37fb0109518a4957c97b35cf3492 /util/format.lua | |
parent | e1a84801f61dee7404518c116d7fe36f1f23aec7 (diff) | |
download | prosody-4dc5192c99ce2739952ab77b386f76b987f52dc2.tar.gz prosody-4dc5192c99ce2739952ab77b386f76b987f52dc2.zip |
mod_pubsub: Normalize 'publisher' JID
All the XEP-0060 examples have the publisher attribute set to a bare
JID, but the text does allow it to be the full JID.
Since mod_pubsub is more likely used for open nodes that anyone can
subscribe to it makes sense to not leak the full JIDs. This is also
disabled by defaults.
In mod_pep on the other hand it might make sense to have the full JID
since that data is more likely to be broadcast to contacts which are
already somewhat trusted.
Diffstat (limited to 'util/format.lua')
0 files changed, 0 insertions, 0 deletions