summaryrefslogtreecommitdiff
path: root/protocols/FacebookRM
diff options
context:
space:
mode:
authorRobert Pösel <robyer@seznam.cz>2017-08-25 18:20:45 +0200
committerRobert Pösel <robyer@seznam.cz>2017-08-25 18:33:26 +0200
commit8b737fdfa7bb85fd27c4c850515863e79a72edd9 (patch)
tree9ead53f9dffee0eaa12b189c0ff7b6801429e5db /protocols/FacebookRM
parentcfe93782f022d04421a62b0ba3628d737e7260e3 (diff)
Facebook: Fix receiving typing notifications (broken in e04d28cfcfe33f0450b390bb1af6e9df823fc86a)
Diffstat (limited to 'protocols/FacebookRM')
-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 66254354b2..94791a1324 100644
--- a/protocols/FacebookRM/src/json.cpp
+++ b/protocols/FacebookRM/src/json.cpp
@@ -789,7 +789,7 @@ int facebook_json_parser::parse_messages(std::string *pData, std::vector<faceboo
const JSONNode &st_ = (*it)["st"]; // typing status - 1 = started typing, 0 = stopped typing
// Ignore wrong (without "from") typing notifications or that are not meant for us (but e.g. for our page)
- if (!from_ || to_.as_string() == proto->facy.self_.user_id)
+ if (!from_ || to_.as_string() != proto->facy.self_.user_id)
continue;
facebook_user fbu;