aboutsummaryrefslogtreecommitdiffstats
path: root/src/main
diff options
context:
space:
mode:
authorDaniel Gultsch <daniel@gultsch.de>2015-12-02 15:34:09 +0100
committerDaniel Gultsch <daniel@gultsch.de>2015-12-02 15:34:09 +0100
commit025cbf7d44f72544155e4074ef754d750bd86b2c (patch)
tree3f826cff5e4ca27957667cc1b6bf13603c6f91f6 /src/main
parent02c6793ca9ae195494c7be86f7e0d7a6c08a04c0 (diff)
show tor config in paranoid mode
Diffstat (limited to 'src/main')
-rw-r--r--src/main/java/eu/siacs/conversations/ui/EditAccountActivity.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/eu/siacs/conversations/ui/EditAccountActivity.java b/src/main/java/eu/siacs/conversations/ui/EditAccountActivity.java
index 961d2cd6..fc8b36fe 100644
--- a/src/main/java/eu/siacs/conversations/ui/EditAccountActivity.java
+++ b/src/main/java/eu/siacs/conversations/ui/EditAccountActivity.java
@@ -491,7 +491,7 @@ public class EditAccountActivity extends XmppActivity implements OnAccountUpdate
}
}
}
- this.mUseTor = getPreferences().getBoolean("use_tor", false);
+ this.mUseTor = Config.PARANOID_MODE || getPreferences().getBoolean("use_tor", false);
this.mNamePort.setVisibility(mUseTor ? View.VISIBLE : View.GONE);
}