diff options
author | Daniel Gultsch <daniel@gultsch.de> | 2015-12-01 22:41:58 +0100 |
---|---|---|
committer | Christian S <christian@pix-art.de> | 2015-12-04 20:12:48 +0100 |
commit | e9c184fbce5e3bfaa25a0ecca6d1942014e4d977 (patch) | |
tree | e5d07bc512a6b86877cd276f10ffedefac31de48 /src/main/java/eu/siacs/conversations/services | |
parent | 0b6f5f29197fad79bb90be4d51c1b87c7577e4ff (diff) |
introduced build-time paranoia mode that disables unencrypted chats a…
…nd forces TOR
Diffstat (limited to 'src/main/java/eu/siacs/conversations/services')
-rw-r--r-- | src/main/java/eu/siacs/conversations/services/XmppConnectionService.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/eu/siacs/conversations/services/XmppConnectionService.java b/src/main/java/eu/siacs/conversations/services/XmppConnectionService.java index ac084758b..2bafb03aa 100644 --- a/src/main/java/eu/siacs/conversations/services/XmppConnectionService.java +++ b/src/main/java/eu/siacs/conversations/services/XmppConnectionService.java @@ -2567,7 +2567,7 @@ public class XmppConnectionService extends Service implements OnPhoneContactsLoa } public boolean useTorToConnect() { - return getPreferences().getBoolean("use_tor", false); + return Config.PARANOID_MODE || getPreferences().getBoolean("use_tor", false); } public int unreadCount() { |