summaryrefslogtreecommitdiff
path: root/protocols/FacebookRM/src/json.cpp
diff options
context:
space:
mode:
authorRobert Pösel <robyer@seznam.cz>2013-05-21 00:28:00 +0000
committerRobert Pösel <robyer@seznam.cz>2013-05-21 00:28:00 +0000
commit3e39b15e9c151e2485a21af03b75c47d404d0823 (patch)
treeb741f5fa7046b031b1bfdccd7d9b3eb133b0b178 /protocols/FacebookRM/src/json.cpp
parente941daea7a5ae68ba38d5e3524fa148022f64beb (diff)
Facebook: Attempt to fix not receiving messages from not-friends.
git-svn-id: http://svn.miranda-ng.org/main/trunk@4769 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 67eb807346..e51ef68fe2 100644
--- a/protocols/FacebookRM/src/json.cpp
+++ b/protocols/FacebookRM/src/json.cpp
@@ -371,7 +371,7 @@ int facebook_json_parser::parse_messages(void* data, std::vector< facebook_messa
continue;
// Ignore group chat messages
- if (tid.Value().substr(0, 3) == "id.")
+ if (tid.Value().substr(0, 3) == "id." && mid.Value().substr(0, 4) == "mid.")
continue;
//proto->Log("????? Checking time %15.2f > %15.2f", time_sent.Value(), proto->facy.last_message_time_);