mirror of
https://codeberg.org/monocles/monocles_chat.git
synced 2025-01-27 07:24:13 +01:00
fixed logic bug where presences where cleared to early
This commit is contained in:
parent
748582e3ab
commit
507cfba6ad
1 changed files with 0 additions and 1 deletions
|
@ -202,7 +202,6 @@ public class XmppConnectionService extends Service {
|
|||
}
|
||||
scheduleWakeupCall(PING_MAX_INTERVAL, true);
|
||||
} else if (account.getStatus() == Account.STATUS_OFFLINE) {
|
||||
databaseBackend.clearPresences(account);
|
||||
if (!account.isOptionSet(Account.OPTION_DISABLED)) {
|
||||
int timeToReconnect = mRandom.nextInt(50) + 10;
|
||||
scheduleWakeupCall(timeToReconnect, false);
|
||||
|
|
Loading…
Add table
Reference in a new issue