diff options
author | Daniel Gultsch <daniel@gultsch.de> | 2014-05-18 11:25:04 +0200 |
---|---|---|
committer | Daniel Gultsch <daniel@gultsch.de> | 2014-05-18 11:25:04 +0200 |
commit | 0cdd74417fe98afbb184d83c8ff0a4fc248006de (patch) | |
tree | f59f392b11b638eddee6b505b750c8dafd6cc40a /src/eu/siacs/conversations/entities | |
parent | 66aacf7e3edae1e4a6ec6cab72df82ae38daa096 (diff) |
fixed #53 aka server not found bug
Diffstat (limited to '')
-rw-r--r-- | src/eu/siacs/conversations/entities/Account.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/eu/siacs/conversations/entities/Account.java b/src/eu/siacs/conversations/entities/Account.java index 35870aaa..3e7ad97f 100644 --- a/src/eu/siacs/conversations/entities/Account.java +++ b/src/eu/siacs/conversations/entities/Account.java @@ -135,7 +135,7 @@ public class Account extends AbstractEntity{ } public boolean hasErrorStatus() { - return getStatus() > STATUS_NO_INTERNET; + return getStatus() > STATUS_NO_INTERNET && (getXmppConnection().getAttempt() >= 2); } public void setResource(String resource) { |