aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_pep.lua
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2021-02-15 16:29:13 +0100
committerKim Alvefur <zash@zash.se>2021-02-15 16:29:13 +0100
commitf01247ec5681666b8c6330e647f9e21b3275647c (patch)
treef1091891e6a55f6f9635ba15ea0a4f50d41c7871 /plugins/mod_pep.lua
parent1f45b635448b2b2bb89591999dbe1764ee06d102 (diff)
downloadprosody-f01247ec5681666b8c6330e647f9e21b3275647c.tar.gz
prosody-f01247ec5681666b8c6330e647f9e21b3275647c.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/mod_pep.lua')
-rw-r--r--plugins/mod_pep.lua1
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