aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDaniel Gultsch <daniel@gultsch.de>2014-03-13 18:36:56 +0100
committerDaniel Gultsch <daniel@gultsch.de>2014-03-13 18:36:56 +0100
commit507cfba6ad481b078528ead056088e6aa6c4a3fc (patch)
tree7bfe2b5da33f807f63bb29de54b0c397f53ba911 /src
parent748582e3aba7f4feb931dd266de0b6b0e1f3206d (diff)
fixed logic bug where presences where cleared to early
Diffstat (limited to 'src')
-rw-r--r--src/eu/siacs/conversations/services/XmppConnectionService.java1
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 183ca00c..57cb60b9 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);