From 184f923e8f974e48944b9f291366b33f3eec63b9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?S=C3=A9bastien=20Blin?=
 <sebastien.blin@savoirfairelinux.com>
Date: Sat, 11 May 2019 19:18:39 -0400
Subject: [PATCH] sip: fix online status

Change-Id: I961aa255deea24ae926163a4372f66c42c98baf4
---
 src/api/account.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/api/account.h b/src/api/account.h
index 45e19bda..8d353d19 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;
-- 
GitLab