From 94148e96f00bb8fc717c6ee3e61bfb38283b7e85 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adrien=20B=C3=A9raud?= <adrien.beraud@savoirfairelinux.com> Date: Wed, 12 Oct 2016 16:07:02 -0400 Subject: [PATCH] multi-device: emit state change on account creation ended Tuleap: #938 Change-Id: I3569786d66771578d10b13a87464302a73982a19 --- src/ringdht/ringaccount.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/ringdht/ringaccount.cpp b/src/ringdht/ringaccount.cpp index 90dcd65bbb..cf16cb2807 100644 --- a/src/ringdht/ringaccount.cpp +++ b/src/ringdht/ringaccount.cpp @@ -1050,7 +1050,8 @@ RingAccount::createAccount(const std::string& archive_password) Manager::instance().removeAccount(sthis->getAccountID()); }); } - this_.registrationState_ = RegistrationState::UNREGISTERED; + RING_DBG("Account generation ended, saving..."); + this_.setRegistrationState(RegistrationState::UNREGISTERED); Manager::instance().saveConfig(); this_.doRegister(); }); -- GitLab