mirror of
https://github.com/moparisthebest/Conversations
synced 2025-01-31 23:20:08 -05:00
do not dismiss editAccountActivity when still trying to register new account
This commit is contained in:
parent
e65068d226
commit
ef605e4cbd
@ -152,7 +152,9 @@ public class EditAccountActivity extends XmppActivity implements OnAccountUpdate
|
||||
mAccount.setOption(Account.OPTION_REGISTER, registerNewAccount);
|
||||
xmppConnectionService.createAccount(mAccount);
|
||||
}
|
||||
if (jidToEdit != null && !mAccount.isOptionSet(Account.OPTION_DISABLED)) {
|
||||
if (jidToEdit != null
|
||||
&& !mAccount.isOptionSet(Account.OPTION_DISABLED)
|
||||
&& !registerNewAccount) {
|
||||
finish();
|
||||
} else {
|
||||
updateSaveButton();
|
||||
|
Loading…
Reference in New Issue
Block a user