mirror of
https://github.com/moparisthebest/Conversations
synced 2025-02-01 07:20:10 -05:00
only report error after third unsuccesful attempt to connect
This commit is contained in:
parent
f815a7cd26
commit
fdb6b0e30d
@ -281,7 +281,7 @@ public class Account extends AbstractEntity {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public boolean hasErrorStatus() {
|
public boolean hasErrorStatus() {
|
||||||
return getXmppConnection() != null && getStatus().isError() && getXmppConnection().getAttempt() >= 2;
|
return getXmppConnection() != null && getStatus().isError() && getXmppConnection().getAttempt() >= 3;
|
||||||
}
|
}
|
||||||
|
|
||||||
public String getResource() {
|
public String getResource() {
|
||||||
|
Loading…
Reference in New Issue
Block a user