summaryrefslogtreecommitdiff
path: root/protocols/FacebookRM/src/json.cpp
diff options
context:
space:
mode:
authorRobert Pösel <robyer@seznam.cz>2014-06-19 10:39:53 +0000
committerRobert Pösel <robyer@seznam.cz>2014-06-19 10:39:53 +0000
commit8cc704c0ac76ac635b2ca5e40ce5a21f2686156a (patch)
tree4d4c6b9cdbb2dceabcc0c3981a789404d32d0e7d /protocols/FacebookRM/src/json.cpp
parent67e3f0fb7e0ace16b2aae903d7f17beea95fafe0 (diff)
Facebook: Correctly show stopped-typing event after receive message (broken by r9482)
git-svn-id: http://svn.miranda-ng.org/main/trunk@9540 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/FacebookRM/src/json.cpp')
-rw-r--r--protocols/FacebookRM/src/json.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/protocols/FacebookRM/src/json.cpp b/protocols/FacebookRM/src/json.cpp
index 59c44a65c8..f29913600c 100644
--- a/protocols/FacebookRM/src/json.cpp
+++ b/protocols/FacebookRM/src/json.cpp
@@ -582,9 +582,9 @@ int facebook_json_parser::parse_messages(void* data, std::vector< facebook_messa
JSONNODE *st = json_get(it, "st");
if (json_as_int(st) == 1)
- CallService(MS_PROTO_CONTACTISTYPING, hContact, (LPARAM)60);
+ proto->StartTyping(hContact);
else
- CallService(MS_PROTO_CONTACTISTYPING, hContact, (LPARAM)PROTOTYPE_CONTACTTYPING_OFF);
+ proto->StopTyping(hContact);
} else if (t == "ttyp") {
// multi chat typing notification