From bf7bba03112993808d98656e6a4aea4d2493062a Mon Sep 17 00:00:00 2001 From: Daniel Gultsch Date: Thu, 13 Mar 2014 21:45:38 +0100 Subject: [PATCH] bug fix --- AndroidManifest.xml | 17 +++++++++++------ .../services/XmppConnectionService.java | 2 +- 2 files changed, 12 insertions(+), 7 deletions(-) diff --git a/AndroidManifest.xml b/AndroidManifest.xml index 4e5042c13..3b598426f 100644 --- a/AndroidManifest.xml +++ b/AndroidManifest.xml @@ -69,12 +69,6 @@ - - - - - - @@ -82,6 +76,17 @@ + + + + + + + \ No newline at end of file diff --git a/src/eu/siacs/conversations/services/XmppConnectionService.java b/src/eu/siacs/conversations/services/XmppConnectionService.java index 9a5cbc0cc..bc574fba0 100644 --- a/src/eu/siacs/conversations/services/XmppConnectionService.java +++ b/src/eu/siacs/conversations/services/XmppConnectionService.java @@ -928,7 +928,7 @@ public class XmppConnectionService extends Service { public void deleteAccount(Account account) { Log.d(LOGTAG, "called delete account"); if (account.getXmppConnection() != null) { - this.disconnect(account, false); + this.disconnect(account, true); } databaseBackend.deleteAccount(account); this.accounts.remove(account);