Software /
code /
prosody
Changeset
12718:27a4a7e64831
mod_saslauth: Only announce bind feature if no resource yet bound
It's now possible to bind during SASL2 negotiation.
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Sat, 03 Sep 2022 21:19:00 +0100 |
parents | 12717:898e99f49d80 |
children | 12719:268b1a9162a9 |
files | plugins/mod_saslauth.lua |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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