diff options
-rw-r--r-- | protocols/FacebookRM/src/json.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/protocols/FacebookRM/src/json.cpp b/protocols/FacebookRM/src/json.cpp index f639a311bb..e941383342 100644 --- a/protocols/FacebookRM/src/json.cpp +++ b/protocols/FacebookRM/src/json.cpp @@ -796,6 +796,9 @@ int facebook_json_parser::parse_messages(std::string *pData, std::vector<faceboo else if (a == 2) status = ID_STATUS_ONLINE; } + else { + status = ID_STATUS_OFFLINE; + } if (proto->getWord(hContact, "Status", 0) != status) proto->setWord(hContact, "Status", status); |