From 3e39b15e9c151e2485a21af03b75c47d404d0823 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20P=C3=B6sel?= Date: Tue, 21 May 2013 00:28:00 +0000 Subject: 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 --- protocols/FacebookRM/src/json.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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_); -- cgit v1.2.3