aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/java/eu/siacs/conversations/entities
diff options
context:
space:
mode:
authorSam Whited <sam@samwhited.com>2014-11-15 11:29:58 -0500
committerSam Whited <sam@samwhited.com>2014-11-15 11:29:58 -0500
commit251f4d6d7f93da6d23c3422cf8eeece780789f45 (patch)
tree56f918a32397f4e15817816692ff2bb4613e415d /src/main/java/eu/siacs/conversations/entities
parentc09d450db815f51802caf0ea761ee01617a4ad19 (diff)
Add incompatible server status
Diffstat (limited to 'src/main/java/eu/siacs/conversations/entities')
-rw-r--r--src/main/java/eu/siacs/conversations/entities/Account.java5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/main/java/eu/siacs/conversations/entities/Account.java b/src/main/java/eu/siacs/conversations/entities/Account.java
index d5a316ab8..85f967eca 100644
--- a/src/main/java/eu/siacs/conversations/entities/Account.java
+++ b/src/main/java/eu/siacs/conversations/entities/Account.java
@@ -53,7 +53,8 @@ public class Account extends AbstractEntity {
REGISTRATION_CONFLICT(true),
REGISTRATION_SUCCESSFUL,
REGISTRATION_NOT_SUPPORTED(true),
- SECURITY_ERROR(true);
+ SECURITY_ERROR(true),
+ INCOMPATIBLE_SERVER(true);
private boolean isError;
@@ -95,6 +96,8 @@ public class Account extends AbstractEntity {
return R.string.account_status_regis_not_sup;
case SECURITY_ERROR:
return R.string.account_status_security_error;
+ case INCOMPATIBLE_SERVER:
+ return R.string.account_status_incompatible_server;
default:
return R.string.account_status_unknown;
}