mirror of
https://github.com/moparisthebest/Conversations
synced 2025-01-12 05:58:42 -05:00
show error notification in connecting state as well
This commit is contained in:
parent
1db85e582e
commit
baa149924a
@ -321,7 +321,9 @@ public class Account extends AbstractEntity {
|
||||
}
|
||||
|
||||
public boolean hasErrorStatus() {
|
||||
return getXmppConnection() != null && getStatus().isError() && getXmppConnection().getAttempt() >= 3;
|
||||
return getXmppConnection() != null
|
||||
&& (getStatus().isError() || getStatus() == State.CONNECTING)
|
||||
&& getXmppConnection().getAttempt() >= 3;
|
||||
}
|
||||
|
||||
public void setPresenceStatus(Presence.Status status) {
|
||||
|
Loading…
Reference in New Issue
Block a user