Skip to content

Commit d27a2a0

Browse files
committed
treat i2p connection as secure
Signed-off-by: R4SAS <[email protected]>
1 parent 4f58fa2 commit d27a2a0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/eu/siacs/conversations/xmpp/XmppConnection.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -1494,7 +1494,7 @@ private void authenticate() throws IOException {
14941494
}
14951495

14961496
private boolean isSecure() {
1497-
return features.encryptionEnabled || Config.ALLOW_NON_TLS_CONNECTIONS || account.isOnion();
1497+
return features.encryptionEnabled || Config.ALLOW_NON_TLS_CONNECTIONS || account.isOnion() || account.isI2P();
14981498
}
14991499

15001500
private void authenticate(final SaslMechanism.Version version) throws IOException {

0 commit comments

Comments
 (0)