Mercurial > prosody-modules
diff mod_sasl2/mod_sasl2.lua @ 5042:166fd192f39c
mod_sasl2: Move <inline/> into <authentication>
This is a small change we've agreed upon in the upcoming version of the XEP.
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Wed, 21 Sep 2022 10:25:34 +0100 |
parents | afa09e069afb |
children | f64d834ba744 |
line wrap: on
line diff
--- a/mod_sasl2/mod_sasl2.lua Wed Sep 21 10:05:39 2022 +0100 +++ b/mod_sasl2/mod_sasl2.lua Wed Sep 21 10:25:34 2022 +0100 @@ -94,9 +94,9 @@ features:add_direct_child(mechanisms); - local inline = st.stanza("inline", { xmlns = xmlns_sasl2 }); + local inline = st.stanza("inline"); module:fire_event("advertise-sasl-features", { session = origin, features = inline }); - features:add_direct_child(inline); + mechanisms:add_direct_child(inline); end, 1); local function handle_status(session, status, ret, err_msg)