diff options
Diffstat (limited to 'src/main/java/de/pixart/messenger/services')
-rw-r--r-- | src/main/java/de/pixart/messenger/services/XmppConnectionService.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/de/pixart/messenger/services/XmppConnectionService.java b/src/main/java/de/pixart/messenger/services/XmppConnectionService.java index 5537297a6..b2f8001b2 100644 --- a/src/main/java/de/pixart/messenger/services/XmppConnectionService.java +++ b/src/main/java/de/pixart/messenger/services/XmppConnectionService.java @@ -1194,9 +1194,9 @@ public class XmppConnectionService extends Service { int activeAccounts = 0; for (final Account account : accounts) { if (account.getStatus() != Account.State.DISABLED) { + databaseBackend.writeRoster(account.getRoster()); activeAccounts++; } - databaseBackend.writeRoster(account.getRoster()); if (account.getXmppConnection() != null) { new Thread(() -> disconnect(account, false)).start(); } |