mirror of
https://github.com/moparisthebest/Conversations
synced 2024-11-16 22:05:07 -05:00
Only apply defaults if the account is new
This commit is contained in:
parent
5684849249
commit
4ea11c15e3
@ -132,9 +132,9 @@ public class EditAccount extends DialogFragment {
|
|||||||
account.setServer(server);
|
account.setServer(server);
|
||||||
} else {
|
} else {
|
||||||
account = new Account(username, server, password);
|
account = new Account(username, server, password);
|
||||||
|
account.setOption(Account.OPTION_USETLS, true);
|
||||||
|
account.setOption(Account.OPTION_USECOMPRESSION, true);
|
||||||
}
|
}
|
||||||
account.setOption(Account.OPTION_USETLS, true);
|
|
||||||
account.setOption(Account.OPTION_USECOMPRESSION, true);
|
|
||||||
account.setOption(Account.OPTION_REGISTER, register.isChecked());
|
account.setOption(Account.OPTION_REGISTER, register.isChecked());
|
||||||
if (listener != null) {
|
if (listener != null) {
|
||||||
listener.onAccountEdited(account);
|
listener.onAccountEdited(account);
|
||||||
|
Loading…
Reference in New Issue
Block a user