We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5effa6f commit 7f1f0a2Copy full SHA for 7f1f0a2
src/main/java/eu/siacs/conversations/xmpp/XmppConnection.java
@@ -881,7 +881,7 @@ private SSLSocket upgradeSocketToTls(final Socket socket) throws IOException {
881
882
private void processStreamFeatures(final Tag currentTag) throws IOException {
883
this.streamFeatures = tagReader.readElement(currentTag);
884
- final boolean isSecure = features.encryptionEnabled || Config.ALLOW_NON_TLS_CONNECTIONS || account.isOnion();
+ final boolean isSecure = features.encryptionEnabled || Config.ALLOW_NON_TLS_CONNECTIONS || account.isOnion() || account.isI2P();
885
final boolean needsBinding = !isBound && !account.isOptionSet(Account.OPTION_REGISTER);
886
if (this.streamFeatures.hasChild("starttls") && !features.encryptionEnabled) {
887
sendStartTLS();
0 commit comments