windows client password protected gz for new accounts
Whenever you create a new account or import an existing account from a password-protected gz file, there is an json de-serialization exception. When new, account is not registered with ns.jami.net I dig and found the issue of password not being passed from the UI. Since I don't have the rights to create a new pull request, here is the diff for the fix:
commit 0e54bd053a538943b222e1d2310b219c41f7c2d1 (HEAD -> new-account-password-fix)
Author: Nikolai Danylchyk
Date: Mon Jun 8 16:10:36 2020 +0200
Fix for no password being passed to registerName
diff --git a/src/newwizardwidget.cpp b/src/newwizardwidget.cpp
index a72bbc7..056576b 100644
--- a/src/newwizardwidget.cpp
+++ b/src/newwizardwidget.cpp
@@ -587,7 +587,7 @@ NewWizardWidget::createAccount()
});
LRCInstance::accountModel().registerName(
LRCInstance::getCurrAccId(),
- "",
+ inputPara_["password"].isEmpty() ? "" : inputPara_["password"],
registeredName_
);
} else {
Hope this helps.