diff options
author | fiaxh <git@lightrise.org> | 2024-09-29 19:15:51 +0200 |
---|---|---|
committer | fiaxh <git@lightrise.org> | 2024-10-18 14:16:19 +0200 |
commit | 3abe9fdb9ef485d048497da6046f0b12e421e869 (patch) | |
tree | cfbf22dea1ddff67425445dcb206b7674aa0e17a /main | |
parent | 4d4ba7dde6d3153fa5ea652a8b37d7b78f511484 (diff) | |
download | dino-3abe9fdb9ef485d048497da6046f0b12e421e869.tar.gz dino-3abe9fdb9ef485d048497da6046f0b12e421e869.zip |
Fix crash on account creation (resource generation)
Diffstat (limited to 'main')
-rw-r--r-- | main/src/windows/preferences_window/add_account_dialog.vala | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/main/src/windows/preferences_window/add_account_dialog.vala b/main/src/windows/preferences_window/add_account_dialog.vala index 00acb6aa..bfa98103 100644 --- a/main/src/windows/preferences_window/add_account_dialog.vala +++ b/main/src/windows/preferences_window/add_account_dialog.vala @@ -211,7 +211,7 @@ public class AddAccountDialog : Adw.Window { if (password_group.visible) { // JID + Psw fields were visible: Try to log in string password = password_entry.text; - Account account = new Account(login_jid, null, password, null); + Account account = new Account(login_jid, password); ConnectionManager.ConnectionError.Source? error = yield stream_interactor.get_module(Register.IDENTITY).add_check_account(account); sign_in_continue_spinner.visible = false; @@ -351,7 +351,7 @@ public class AddAccountDialog : Adw.Window { } } try { - Account account = new Account(new Jid.components(username, server_jid.domainpart, null), null, password, null); + Account account = new Account(new Jid.components(username, server_jid.domainpart, null), password); add_activate_account(account); show_success(account); } catch (InvalidJidError e) { |