mirror of
https://codeberg.org/Mercury-IM/Smack
synced 2025-09-09 18:29:45 +02:00
waitForCondition() → waitForConditionOrThrowConnectionException()
The method was already renamed, but not in ModularXmppClientToServerConnectionInternal.
This commit is contained in:
parent
a356e91108
commit
ac788592a6
3 changed files with 3 additions and 3 deletions
|
@ -1165,7 +1165,7 @@ public class XmppTcpTransportModule extends ModularXmppClientToServerConnectionM
|
|||
}
|
||||
|
||||
private void waitForHandshakeFinished() throws InterruptedException, CertificateException, SSLException, SmackException, XMPPException {
|
||||
connectionInternal.waitForCondition(() -> isHandshakeFinished(), "TLS handshake to finish");
|
||||
connectionInternal.waitForConditionOrThrowConnectionException(() -> isHandshakeFinished(), "TLS handshake to finish");
|
||||
|
||||
if (handshakeStatus == TlsHandshakeStatus.failed) {
|
||||
throw handshakeException;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue