# HG changeset patch # User Kim Alvefur # Date 1613402953 -3600 # Node ID 774811e2c6abfc5a1b1dd60007cf564bb7c1f969 # Parent 5798ab73561936c7803c1f80911474620bfc28ba mod_pep: Advertise base pubsub feature (fixes #1632) Noticed while discussing feature discovery in Gajim Thanks lovetox diff -r 5798ab735619 -r 774811e2c6ab plugins/mod_pep.lua --- a/plugins/mod_pep.lua Mon Jan 25 20:58:11 2021 +0100 +++ b/plugins/mod_pep.lua Mon Feb 15 16:29:13 2021 +0100 @@ -417,6 +417,7 @@ "presence-subscribe", }; + reply:tag('feature', {var=xmlns_pubsub}):up(); for feature in supported_features do reply:tag('feature', {var=xmlns_pubsub.."#"..feature}):up(); end