diff options
author | Christian Schneppe <christian@pix-art.de> | 2018-02-19 20:49:20 +0100 |
---|---|---|
committer | Christian Schneppe <christian@pix-art.de> | 2018-02-19 20:49:20 +0100 |
commit | 6c65bb9334673d5821ebc489287c5e6a74bdd328 (patch) | |
tree | d658153afd9b446ff130b8bd9fcf4c0696ca2dcd /src/main/java/de/pixart/messenger | |
parent | 81c6addd594b562008fbc8137dbd152168530227 (diff) |
don't delete account if it's not yet created - fixes crash
Diffstat (limited to '')
-rw-r--r-- | src/main/java/de/pixart/messenger/ui/EditAccountActivity.java | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/main/java/de/pixart/messenger/ui/EditAccountActivity.java b/src/main/java/de/pixart/messenger/ui/EditAccountActivity.java index 24218be4e..c94ceb44b 100644 --- a/src/main/java/de/pixart/messenger/ui/EditAccountActivity.java +++ b/src/main/java/de/pixart/messenger/ui/EditAccountActivity.java @@ -326,7 +326,6 @@ public class EditAccountActivity extends OmemoActivity implements OnAccountUpdat xmppConnectionService.deleteAccount(mAccount); } if (xmppConnectionService.getAccounts().size() == 0) { - xmppConnectionService.deleteAccount(mAccount); Intent intent = new Intent(EditAccountActivity.this, WelcomeActivity.class); WelcomeActivity.addInviteUri(intent, getIntent()); startActivity(intent); |