Software /
code /
prosody-modules
Diff
mod_sasl2_sm/mod_sasl2_sm.lua @ 5749:92ce3859df63
mod_sasl2_sm: Remove duplicate advertisement of stream management (thanks singpolyma)
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Tue, 21 Nov 2023 17:34:54 +0000 |
parent | 5094:c92c87daa09e |
line wrap: on
line diff
--- 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