Changeset

11376:774811e2c6ab 0.11 0.11.8

mod_pep: Advertise base pubsub feature (fixes #1632) Noticed while discussing feature discovery in Gajim Thanks lovetox
author Kim Alvefur <zash@zash.se>
date Mon, 15 Feb 2021 16:29:13 +0100
parents 11306:5798ab735619
children 11377:ab334ddc6152
files plugins/mod_pep.lua
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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