diff options
author | Robert Pösel <robyer@seznam.cz> | 2014-08-11 21:20:17 +0000 |
---|---|---|
committer | Robert Pösel <robyer@seznam.cz> | 2014-08-11 21:20:17 +0000 |
commit | ea65832ded45760913f9256b39c28720ed183790 (patch) | |
tree | 42ec04a8efe1559cef0a5447591cc03e37f9bd4f /protocols/FacebookRM/src/json.cpp | |
parent | 6cc21c56cb5584b431d1d43ae678e20c3b5cb7ad (diff) |
Facebook: Make it positive, people like it positive...
git-svn-id: http://svn.miranda-ng.org/main/trunk@10161 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/FacebookRM/src/json.cpp')
-rw-r--r-- | protocols/FacebookRM/src/json.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/protocols/FacebookRM/src/json.cpp b/protocols/FacebookRM/src/json.cpp index eb1bd02d95..005780b45f 100644 --- a/protocols/FacebookRM/src/json.cpp +++ b/protocols/FacebookRM/src/json.cpp @@ -444,7 +444,7 @@ int facebook_json_parser::parse_messages(void* data, std::vector< facebook_messa JSONNODE *threadid = json_get(it, "tid"); if (threadid != NULL) { // multi user chat - if (proto->m_disableChat) + if (!proto->m_enableChat) continue; std::tstring tid = json_as_string(threadid); @@ -606,7 +606,7 @@ int facebook_json_parser::parse_messages(void* data, std::vector< facebook_messa proto->StopTyping(hContact); } else if (t == "ttyp") { // multi chat typing notification - if (proto->m_disableChat) + if (!proto->m_enableChat) continue; JSONNODE *from_ = json_get(it, "from"); @@ -688,7 +688,7 @@ int facebook_json_parser::parse_messages(void* data, std::vector< facebook_messa }*/ } else if (t == "mercury") { // rename multi user chat, ... - if (proto->m_disableChat) + if (!proto->m_enableChat) continue; JSONNODE *actions_ = json_get(it, "actions"); |