diff options
author | Daniel Gultsch <daniel@gultsch.de> | 2015-11-30 16:01:48 +0100 |
---|---|---|
committer | Christian S <christian@pix-art.de> | 2015-12-04 20:06:02 +0100 |
commit | cf3f83f308a5e3fb1e8a27323411e6b95681f949 (patch) | |
tree | dd5e1596a0ffd7427f2707c35b66d3c1c934195a /src/main/java/eu/siacs/conversations/entities | |
parent | 608c4ef248087f8856b1975a227072300375f8ef (diff) |
add error state for unavailable tor network
Diffstat (limited to 'src/main/java/eu/siacs/conversations/entities')
-rw-r--r-- | src/main/java/eu/siacs/conversations/entities/Account.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/main/java/eu/siacs/conversations/entities/Account.java b/src/main/java/eu/siacs/conversations/entities/Account.java index 062c0d253..75e6b2a00 100644 --- a/src/main/java/eu/siacs/conversations/entities/Account.java +++ b/src/main/java/eu/siacs/conversations/entities/Account.java @@ -83,7 +83,7 @@ public class Account extends AbstractEntity { REGISTRATION_NOT_SUPPORTED(true), SECURITY_ERROR(true), INCOMPATIBLE_SERVER(true), - DNS_TIMEOUT(true); + TOR_NOT_AVAILABLE(true); private final boolean isError; @@ -127,8 +127,8 @@ public class Account extends AbstractEntity { return R.string.account_status_security_error; case INCOMPATIBLE_SERVER: return R.string.account_status_incompatible_server; - case DNS_TIMEOUT: - return R.string.account_status_dns_timeout; + case TOR_NOT_AVAILABLE: + return R.string.account_status_tor_unavailable; default: return R.string.account_status_unknown; } |