diff options
author | Vadim Dashevskiy <watcherhd@gmail.com> | 2015-04-25 17:08:00 +0000 |
---|---|---|
committer | Vadim Dashevskiy <watcherhd@gmail.com> | 2015-04-25 17:08:00 +0000 |
commit | 763ff998a4b78f958fdc73440682ccbaf7a66fe4 (patch) | |
tree | 8c267251c696a7a55e2c16d37aafe417bdc3b8cd /protocols/FacebookRM/src/json.cpp | |
parent | 7661154c6360c2b9ff10dc536fe029323f7a96cb (diff) |
Facebook - common project
git-svn-id: http://svn.miranda-ng.org/main/trunk@13142 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/FacebookRM/src/json.cpp')
-rw-r--r-- | protocols/FacebookRM/src/json.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/protocols/FacebookRM/src/json.cpp b/protocols/FacebookRM/src/json.cpp index 5eea6287bc..defcec4595 100644 --- a/protocols/FacebookRM/src/json.cpp +++ b/protocols/FacebookRM/src/json.cpp @@ -20,7 +20,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. */ -#include "common.h" +#include "stdafx.h" int facebook_json_parser::parse_buddy_list(std::string *data, List::List< facebook_user >* buddy_list) { @@ -277,7 +277,7 @@ int facebook_json_parser::parse_notifications(std::string *data, std::map< std:: return EXIT_SUCCESS; } -bool ignore_duplicits(FacebookProto *proto, const std::string &mid, const std::string &text) +bool ignore_duplicits(FacebookProto *proto, const std::string &mid, const std::string &) { ScopedLock s(proto->facy.send_message_lock_); @@ -717,7 +717,6 @@ int facebook_json_parser::parse_messages(std::string *data, std::vector< faceboo continue; } else if (t == "ticker_update:home") { JSONNODE *actor_ = json_get(it, "actor"); - JSONNODE *time_ = json_get(it, "story_time"); JSONNODE *story_ = json_get(it, "story_xhp"); std::string text = json_as_pstring(story_); |