mod_pep: Advertise base pubsub feature (fixes #1632) 0.11 0.11.8
authorKim Alvefur <zash@zash.se>
Mon, 15 Feb 2021 16:29:13 +0100
branch0.11
changeset 11380 774811e2c6ab
parent 11310 5798ab735619
child 11381 ab334ddc6152
mod_pep: Advertise base pubsub feature (fixes #1632) Noticed while discussing feature discovery in Gajim Thanks lovetox
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