diff options
author | Robert Pösel <robyer@seznam.cz> | 2014-12-21 14:37:38 +0000 |
---|---|---|
committer | Robert Pösel <robyer@seznam.cz> | 2014-12-21 14:37:38 +0000 |
commit | 310cdd11d658f232ab9b05a7b39cc9c3d9a00436 (patch) | |
tree | f94ccec81ed18054bf2fcafecfef29162a96c072 /protocols/FacebookRM/src/json.cpp | |
parent | 1143653f5936f4f4ea97e0d0bd863b79385004e1 (diff) |
Facebook: Use correct (= server) timestamp for sent messages
- used only when "use local time for messages" isn't enabled
- also it probably doesn't work for StdMsg (SRMM) plugin
git-svn-id: http://svn.miranda-ng.org/main/trunk@11555 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/FacebookRM/src/json.cpp')
-rw-r--r-- | protocols/FacebookRM/src/json.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/FacebookRM/src/json.cpp b/protocols/FacebookRM/src/json.cpp index a8d8e8ea7a..369f94c31f 100644 --- a/protocols/FacebookRM/src/json.cpp +++ b/protocols/FacebookRM/src/json.cpp @@ -446,7 +446,7 @@ int facebook_json_parser::parse_messages(std::string *data, std::vector< faceboo continue; // check if we should use use local_timestamp for incoming messages and use it for read time too - /*bool local_timestamp = proto->getBool(FACEBOOK_KEY_LOCAL_TIMESTAMP, 0); + /*bool local_timestamp = proto->getBool(FACEBOOK_KEY_LOCAL_TIMESTAMP, DEFAULT_LOCAL_TIME); time_t timestamp = local_timestamp ? ::time(NULL) : utils::time::fix_timestamp(json_as_float(time));*/ // we can always use NOW for read time, because that's the time of receiving this event (+-) |