diff options
author | Daniel Gultsch <daniel@gultsch.de> | 2014-03-13 18:36:56 +0100 |
---|---|---|
committer | Daniel Gultsch <daniel@gultsch.de> | 2014-03-13 18:36:56 +0100 |
commit | 507cfba6ad481b078528ead056088e6aa6c4a3fc (patch) | |
tree | 7bfe2b5da33f807f63bb29de54b0c397f53ba911 /src/eu | |
parent | 748582e3aba7f4feb931dd266de0b6b0e1f3206d (diff) |
fixed logic bug where presences where cleared to early
Diffstat (limited to 'src/eu')
-rw-r--r-- | src/eu/siacs/conversations/services/XmppConnectionService.java | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/eu/siacs/conversations/services/XmppConnectionService.java b/src/eu/siacs/conversations/services/XmppConnectionService.java index 183ca00c6..57cb60b9c 100644 --- a/src/eu/siacs/conversations/services/XmppConnectionService.java +++ b/src/eu/siacs/conversations/services/XmppConnectionService.java @@ -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); |