summaryrefslogtreecommitdiff
path: root/protocols/FacebookRM
diff options
context:
space:
mode:
authorRobert Pösel <robyer@seznam.cz>2014-04-21 14:49:46 +0000
committerRobert Pösel <robyer@seznam.cz>2014-04-21 14:49:46 +0000
commitf387d8ef278a623e141153c6c87e5c4efa3bd917 (patch)
tree918d3e18b853826f9d055a0b5e902fb6b9189812 /protocols/FacebookRM
parenta675f603009e8dca6581d7f68d1e357f7f62d0cb (diff)
Facebook: Don't switch contact to online when he is typing (he can type from invisible)
git-svn-id: http://svn.miranda-ng.org/main/trunk@9007 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/FacebookRM')
-rw-r--r--protocols/FacebookRM/src/json.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/protocols/FacebookRM/src/json.cpp b/protocols/FacebookRM/src/json.cpp
index fcc9d2cb83..ff9f4d7fec 100644
--- a/protocols/FacebookRM/src/json.cpp
+++ b/protocols/FacebookRM/src/json.cpp
@@ -608,9 +608,6 @@ int facebook_json_parser::parse_messages(void* data, std::vector< facebook_messa
fbu.user_id = json_as_pstring(from);
MCONTACT hContact = proto->AddToContactList(&fbu, CONTACT_FRIEND);
-
- if (proto->isOnline() && proto->getWord(hContact, "Status", 0) == ID_STATUS_OFFLINE)
- proto->setWord(hContact, "Status", ID_STATUS_ONLINE);
JSONNODE *st = json_get(it, "st");
if (json_as_int(st) == 1)