summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Pösel <robyer@seznam.cz>2013-07-25 20:45:59 +0000
committerRobert Pösel <robyer@seznam.cz>2013-07-25 20:45:59 +0000
commit1856c9f9533c48e4943a3f2edb0be53ce498c88b (patch)
tree244be16ea82f6fdfcd87b0fdaaffbd1e8811c208
parentbaddf6d35811670beba5b25e8d7b2c33b2337756 (diff)
Facebook: Fixed receiving messages
git-svn-id: http://svn.miranda-ng.org/main/trunk@5487 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
-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 f6c801065d..283eb19fa5 100644
--- a/protocols/FacebookRM/src/json.cpp
+++ b/protocols/FacebookRM/src/json.cpp
@@ -283,7 +283,7 @@ int facebook_json_parser::parse_messages(void* data, std::vector< facebook_messa
JSONNODE *text = json_get(msg, "text");
JSONNODE *messageId = json_get(msg, "messageId");
- JSONNODE *time = json_get(it, "time");
+ JSONNODE *time = json_get(msg, "time");
// JSONNODE *tab_type = json_get(it, "tab_type"); // e.g. "friend"
if (text == NULL || messageId == NULL)