account (un)register: bad daemon method used, setAccountActive never called
The setAccountActive() method from the daemon API is not used by the new LRC.
220 void
221 NewAccountModel::enableAccount(const std::string& accountId, bool enabled)
222 {
223 auto accountInfo = pimpl_->accounts.find(accountId);
224 if (accountInfo == pimpl_->accounts.end()) {
225 throw std::out_of_range("NewAccountModel::getAccountConfig, can't find " + accountId);
226 }
227 accountInfo->second.enabled = enabled;
228 }
Instead, the account is registered and unregistered via setAccountdetails(). Obviously, this is not a very good idea. It might even be the root of our issues with the register/unregister feature.