From 6eb1004d383b68241680938cf46e25262a94ad92 Mon Sep 17 00:00:00 2001 From: Florian Schmaus Date: Wed, 3 Aug 2022 16:58:12 +0200 Subject: [PATCH] [bosh] Properly implement isSecureConnection() --- .../java/org/jivesoftware/smack/bosh/XMPPBOSHConnection.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/smack-bosh/src/main/java/org/jivesoftware/smack/bosh/XMPPBOSHConnection.java b/smack-bosh/src/main/java/org/jivesoftware/smack/bosh/XMPPBOSHConnection.java index 70ff246b6..8dff0e6e8 100644 --- a/smack-bosh/src/main/java/org/jivesoftware/smack/bosh/XMPPBOSHConnection.java +++ b/smack-bosh/src/main/java/org/jivesoftware/smack/bosh/XMPPBOSHConnection.java @@ -225,8 +225,7 @@ public class XMPPBOSHConnection extends AbstractXMPPConnection { @Override public boolean isSecureConnection() { - // TODO: Implement SSL usage - return false; + return config.isUsingHTTPS(); } @Override