From adc0a88d9f2252d347c0dc55b8786516ac6a3fb0 Mon Sep 17 00:00:00 2001 From: Daniel Gultsch Date: Tue, 21 Nov 2023 19:40:10 +0100 Subject: [PATCH] fixup: properly detect fast (cherry picked from commit 402882389ff3ae1afd91a9285a5601495b6a0347) --- src/main/java/eu/siacs/conversations/xmpp/XmppConnection.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/eu/siacs/conversations/xmpp/XmppConnection.java b/src/main/java/eu/siacs/conversations/xmpp/XmppConnection.java index 7ad5f697d9..d49095cd42 100644 --- a/src/main/java/eu/siacs/conversations/xmpp/XmppConnection.java +++ b/src/main/java/eu/siacs/conversations/xmpp/XmppConnection.java @@ -1585,7 +1585,7 @@ public class XmppConnection implements Runnable { this.validate(saslMechanism, mechanisms); final boolean quickStartAvailable; 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; if (version == SaslMechanism.Version.SASL) { authenticate = new Element("auth", Namespace.SASL);