diff --git a/src/api/account.h b/src/api/account.h index 45e19bda253d6753afbb3dcdbe5743be9b617e83..8d353d19349a38cf2688bc82dd2641553dd63264 100644 --- a/src/api/account.h +++ b/src/api/account.h @@ -71,7 +71,7 @@ to_status(const std::string& type) return account::Status::UNREGISTERED; else if (type == "TRYING") return account::Status::TRYING; - else if (type == "REGISTERED") + else if (type == "REGISTERED" || type == "READY") return account::Status::REGISTERED; else if (type == "ERROR_NEED_MIGRATION") return account::Status::ERROR_NEED_MIGRATION;