summaryrefslogtreecommitdiff
path: root/protocols/FacebookRM/src/json.cpp
diff options
context:
space:
mode:
authorRobert Pösel <robyer@seznam.cz>2014-04-21 14:50:39 +0000
committerRobert Pösel <robyer@seznam.cz>2014-04-21 14:50:39 +0000
commit591b56b22064c79e685b02ad8df809112e0142f4 (patch)
treedd60a0c78f8b0b6c1d0f5c312650311503ce34ef /protocols/FacebookRM/src/json.cpp
parent1506353f98b6f2862ae0d701b837b4378ed0b620 (diff)
Facebook: Send typing notifications even to offline contacts
git-svn-id: http://svn.miranda-ng.org/main/trunk@9010 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/FacebookRM/src/json.cpp')
-rw-r--r--protocols/FacebookRM/src/json.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/FacebookRM/src/json.cpp b/protocols/FacebookRM/src/json.cpp
index cd9d6f286a..743d2380bd 100644
--- a/protocols/FacebookRM/src/json.cpp
+++ b/protocols/FacebookRM/src/json.cpp
@@ -607,7 +607,7 @@ int facebook_json_parser::parse_messages(void* data, std::vector< facebook_messa
facebook_user fbu;
fbu.user_id = json_as_pstring(from);
- MCONTACT hContact = proto->AddToContactList(&fbu, CONTACT_FRIEND);
+ MCONTACT hContact = proto->AddToContactList(&fbu, CONTACT_FRIEND); // only friends are able to send typing notifications
JSONNODE *st = json_get(it, "st");
if (json_as_int(st) == 1)