From bf7bba03112993808d98656e6a4aea4d2493062a Mon Sep 17 00:00:00 2001 From: Daniel Gultsch Date: Thu, 13 Mar 2014 21:45:38 +0100 Subject: bug fix --- AndroidManifest.xml | 17 +++++++++++------ .../conversations/services/XmppConnectionService.java | 2 +- 2 files changed, 12 insertions(+), 7 deletions(-) diff --git a/AndroidManifest.xml b/AndroidManifest.xml index 4e5042c1..3b598426 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 9a5cbc0c..bc574fba 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); -- cgit v1.2.3