From 843c8dd7fe59a778a5d19b529f0af808ed31258a Mon Sep 17 00:00:00 2001 From: Florian Schmaus Date: Fri, 12 Jun 2020 16:35:32 +0200 Subject: [PATCH] [tcp] Add missing notifyWaitingThreads() after receiving SM --- .../main/java/org/jivesoftware/smack/tcp/XMPPTCPConnection.java | 1 + 1 file changed, 1 insertion(+) diff --git a/smack-tcp/src/main/java/org/jivesoftware/smack/tcp/XMPPTCPConnection.java b/smack-tcp/src/main/java/org/jivesoftware/smack/tcp/XMPPTCPConnection.java index 3e30f83b5..b641fd183 100644 --- a/smack-tcp/src/main/java/org/jivesoftware/smack/tcp/XMPPTCPConnection.java +++ b/smack-tcp/src/main/java/org/jivesoftware/smack/tcp/XMPPTCPConnection.java @@ -1016,6 +1016,7 @@ public class XMPPTCPConnection extends AbstractXMPPConnection { // This is a nonza in a response to resuming a previous stream, failure to do // so is non-fatal as we can simply continue with resource binding in this case. smResumptionFailed = failed; + notifyWaitingThreads(); } else { FailedNonzaException xmppException = new FailedNonzaException(failed, failed.getStanzaErrorCondition()); setCurrentConnectionExceptionAndNotify(xmppException);