don't delete account if it's not yet created - fixes crash
This commit is contained in:
parent
81c6addd59
commit
6c65bb9334
1 changed files with 0 additions and 1 deletions
|
@ -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);
|
||||
|
|
Reference in a new issue