diff options
author | Robert Pösel <robyer@seznam.cz> | 2016-06-25 19:54:24 +0000 |
---|---|---|
committer | Robert Pösel <robyer@seznam.cz> | 2016-06-25 19:54:24 +0000 |
commit | 575134e4b2aa8527fd87202a567161c4b2d3d164 (patch) | |
tree | 98eb02eabde9d0a3b01d4bfb8dfd1b42a8f9ad89 /protocols | |
parent | 582048dfa490f2c93740df5c43b39f4f31c40ec3 (diff) |
Facebook: Attempt to fix not setting contacts as offline
This at least partially fixes the problem, but list of online contacts is still not very reliable.
git-svn-id: http://svn.miranda-ng.org/main/trunk@17039 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols')
-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); |