# HG changeset patch # User Matthew Wild # Date 1662236340 -3600 # Node ID 27a4a7e64831bfd0464ed71244f95e4cd4a596f0 # Parent 898e99f49d80b303d26cbfcaadba11a11e8e88cb mod_saslauth: Only announce bind feature if no resource yet bound It's now possible to bind during SASL2 negotiation. diff -r 898e99f49d80 -r 27a4a7e64831 plugins/mod_saslauth.lua --- a/plugins/mod_saslauth.lua Sat Sep 03 21:17:38 2022 +0100 +++ b/plugins/mod_saslauth.lua Sat Sep 03 21:19:00 2022 +0100 @@ -352,7 +352,7 @@ authmod, available_disabled); end - else + elseif not session.full_jid then features:tag("bind", bind_attr):tag("required"):up():up(); features:tag("session", xmpp_session_attr):tag("optional"):up():up(); end