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:
parent
8e337d7810
commit
843c8dd7fe
1 changed files with 1 additions and 0 deletions
|
@ -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
|
// 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.
|
// so is non-fatal as we can simply continue with resource binding in this case.
|
||||||
smResumptionFailed = failed;
|
smResumptionFailed = failed;
|
||||||
|
notifyWaitingThreads();
|
||||||
} else {
|
} else {
|
||||||
FailedNonzaException xmppException = new FailedNonzaException(failed, failed.getStanzaErrorCondition());
|
FailedNonzaException xmppException = new FailedNonzaException(failed, failed.getStanzaErrorCondition());
|
||||||
setCurrentConnectionExceptionAndNotify(xmppException);
|
setCurrentConnectionExceptionAndNotify(xmppException);
|
||||||
|
|
Loading…
Reference in a new issue