diff options
Diffstat (limited to 'src/eu/siacs/conversations/ui/ManageAccountActivity.java')
-rw-r--r-- | src/eu/siacs/conversations/ui/ManageAccountActivity.java | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/src/eu/siacs/conversations/ui/ManageAccountActivity.java b/src/eu/siacs/conversations/ui/ManageAccountActivity.java index ed657902..6c64197c 100644 --- a/src/eu/siacs/conversations/ui/ManageAccountActivity.java +++ b/src/eu/siacs/conversations/ui/ManageAccountActivity.java @@ -121,11 +121,6 @@ public class ManageAccountActivity extends XmppActivity { .setText(getString(R.string.account_status_requires_tls)); statusView.setTextColor(0xFFe92727); break; - case Account.STATUS_TLS_ERROR: - statusView - .setText(getString(R.string.account_status_error)); - statusView.setTextColor(0xFFe92727); - break; case Account.STATUS_REGISTRATION_FAILED: statusView .setText(getString(R.string.account_status_regis_fail)); @@ -163,8 +158,7 @@ public class ManageAccountActivity extends XmppActivity { int position, long arg3) { if (!isActionMode) { Account account = accountList.get(position); - if ((account.getStatus() == Account.STATUS_OFFLINE) - || (account.getStatus() == Account.STATUS_TLS_ERROR)) { + if (account.getStatus() == Account.STATUS_OFFLINE) { activity.xmppConnectionService.reconnectAccount( accountList.get(position), true); } else if (account.getStatus() == Account.STATUS_ONLINE) { |