1
0
Fork 0
mirror of https://codeberg.org/Mercury-IM/Smack synced 2024-11-22 06:12:05 +01:00

[tcp] Add missing notifyWaitingThreads() after receiving SM <failed/>

This commit is contained in:
Florian Schmaus 2020-06-12 16:35:32 +02:00
parent 8e337d7810
commit 843c8dd7fe

View file

@ -1016,6 +1016,7 @@ public class XMPPTCPConnection extends AbstractXMPPConnection {
// This is a <failed/> 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);