mirror of
https://codeberg.org/monocles/monocles_chat.git
synced 2025-01-27 07:24:13 +01:00
fixup: properly detect fast
(cherry picked from commit 402882389ff3ae1afd91a9285a5601495b6a0347)
This commit is contained in:
parent
595f1698a6
commit
adc0a88d9f
1 changed files with 1 additions and 1 deletions
|
@ -1585,7 +1585,7 @@ public class XmppConnection implements Runnable {
|
||||||
this.validate(saslMechanism, mechanisms);
|
this.validate(saslMechanism, mechanisms);
|
||||||
final boolean quickStartAvailable;
|
final boolean quickStartAvailable;
|
||||||
final String firstMessage = saslMechanism.getClientFirstMessage(sslSocketOrNull(this.socket));
|
final String firstMessage = saslMechanism.getClientFirstMessage(sslSocketOrNull(this.socket));
|
||||||
final boolean usingFast = SaslMechanism.hashedToken(LoginInfo.mechanism(this.loginInfo));
|
final boolean usingFast = SaslMechanism.hashedToken(saslMechanism);
|
||||||
final Element authenticate;
|
final Element authenticate;
|
||||||
if (version == SaslMechanism.Version.SASL) {
|
if (version == SaslMechanism.Version.SASL) {
|
||||||
authenticate = new Element("auth", Namespace.SASL);
|
authenticate = new Element("auth", Namespace.SASL);
|
||||||
|
|
Loading…
Add table
Reference in a new issue