diff --git a/AndroidManifest.xml b/AndroidManifest.xml
index 4e5042c13a8be9d79f3f1db5fb12ae0f8a1c0b13..3b598426f86d571146f58100e528fd5f4081e68a 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 9a5cbc0cc1056200a3da0f1bebc22ebaf7c39daf..bc574fba0232ef469a6bba1860fabc5b10bdf229 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);