Commit 93a20e82 authored by Quentin Muret's avatar Quentin Muret Committed by Andreas Traczyk

fix: don't reload account on registration stage change

Change-Id: Ia479a82a08b31773c222b71ae91a9bb7e5bda2ef
Reviewed-by: Andreas Traczyk's avatarAndreas Traczyk <andreas.traczyk@savoirfairelinux.com>
parent 8c3eb419
...@@ -441,7 +441,6 @@ class AccountsService: AccountAdapterDelegate { ...@@ -441,7 +441,6 @@ class AccountsService: AccountAdapterDelegate {
func registrationStateChanged(with response: RegistrationResponse) { func registrationStateChanged(with response: RegistrationResponse) {
log.debug("RegistrationStateChanged.") log.debug("RegistrationStateChanged.")
reloadAccounts()
if let state = response.state, state == Registered { if let state = response.state, state == Registered {
if let account = self.currentAccount { if let account = self.currentAccount {
if let ringID = AccountModelHelper(withAccount: account).ringId { if let ringID = AccountModelHelper(withAccount: account).ringId {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment