diff options
author | Kim Alvefur <zash@zash.se> | 2021-02-15 16:29:13 +0100 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2021-02-15 16:29:13 +0100 |
commit | f01247ec5681666b8c6330e647f9e21b3275647c (patch) | |
tree | f1091891e6a55f6f9635ba15ea0a4f50d41c7871 /plugins | |
parent | 1f45b635448b2b2bb89591999dbe1764ee06d102 (diff) | |
download | prosody-0.11.8.tar.gz prosody-0.11.8.zip |
mod_pep: Advertise base pubsub feature (fixes #1632)0.11.8
Noticed while discussing feature discovery in Gajim
Thanks lovetox
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/mod_pep.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/mod_pep.lua b/plugins/mod_pep.lua index f8047a92..d94cab40 100644 --- a/plugins/mod_pep.lua +++ b/plugins/mod_pep.lua @@ -417,6 +417,7 @@ module:hook("account-disco-info", function(event) "presence-subscribe", }; + reply:tag('feature', {var=xmlns_pubsub}):up(); for feature in supported_features do reply:tag('feature', {var=xmlns_pubsub.."#"..feature}):up(); end |