fixup: properly detect fast

This commit is contained in:
Daniel Gultsch 2023-11-21 19:40:10 +01:00 committed by 12aw
parent d429a1fdf3
commit 87556c8811

View file

@ -1562,7 +1562,7 @@ public class XmppConnection implements Runnable {
this.saslMechanism = validate(saslMechanism, mechanisms);
final boolean quickStartAvailable;
final String firstMessage = this.saslMechanism.getClientFirstMessage(sslSocketOrNull(this.socket));
final boolean usingFast = SaslMechanism.hashedToken(this.saslMechanism);
final boolean usingFast = SaslMechanism.hashedToken(saslMechanism);
final Element authenticate;
if (version == SaslMechanism.Version.SASL) {
authenticate = new Element("auth", Namespace.SASL);