mod_sasl2_sm: Remove duplicate advertisement of stream management (thanks singpolyma)
authorMatthew Wild <mwild1@gmail.com>
Tue, 21 Nov 2023 17:34:54 +0000
changeset 5730 92ce3859df63
parent 5729 ef3aa6901a93
child 5731 372b6c4bf409
mod_sasl2_sm: Remove duplicate advertisement of stream management (thanks singpolyma)
mod_sasl2_sm/mod_sasl2_sm.lua
--- a/mod_sasl2_sm/mod_sasl2_sm.lua	Thu Nov 16 19:18:22 2023 +0100
+++ b/mod_sasl2_sm/mod_sasl2_sm.lua	Tue Nov 21 17:34:54 2023 +0000
@@ -54,10 +54,6 @@
 
 -- Bind 2 integration (for enable)
 
-module:hook("advertise-bind-features", function (event)
-	event.features:tag("feature", { var = xmlns_sm }):up();
-end);
-
 module:hook("enable-bind-features", function (event)
 	local sm_enable = event.request:get_child("enable", xmlns_sm);
 	if not sm_enable then return; end