summaryrefslogtreecommitdiff
path: root/protocols/FacebookRM/src/communication.cpp
diff options
context:
space:
mode:
authorRobert Pösel <robyer@seznam.cz>2014-12-23 15:30:02 +0000
committerRobert Pösel <robyer@seznam.cz>2014-12-23 15:30:02 +0000
commit2cd071fd8de860655b981d22ecac139cd6e4411b (patch)
treec6a498931e92b126076ad98af0205543c108af62 /protocols/FacebookRM/src/communication.cpp
parent716eea6998bf896c6180d1ef42bbc7ef9406729d (diff)
Facebook: Remove support for "use local timestamp for messages"
It's not needed anymore because we correctly set server time for sent messages, so everything will be consistent (in server time) git-svn-id: http://svn.miranda-ng.org/main/trunk@11598 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/FacebookRM/src/communication.cpp')
-rw-r--r--protocols/FacebookRM/src/communication.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/protocols/FacebookRM/src/communication.cpp b/protocols/FacebookRM/src/communication.cpp
index e1518f4f8e..2150ff6ab5 100644
--- a/protocols/FacebookRM/src/communication.cpp
+++ b/protocols/FacebookRM/src/communication.cpp
@@ -1340,8 +1340,7 @@ int facebook_client::send_message(int seqid, MCONTACT hContact, const std::strin
parent->setString(FACEBOOK_KEY_LAST_ACTION_TIMESTAMP, timestamp.c_str());
// For classic conversation we try to remember and then replace timestamp of added event in OnPreCreateEvent()
- bool localTimestamp = parent->getBool(FACEBOOK_KEY_LOCAL_TIMESTAMP, DEFAULT_LOCAL_TIME);
- if (seqid > 0 && !localTimestamp) {
+ if (seqid > 0) {
long long time = _atoi64(timestamp.c_str());
if (time > 100000000000)
time /= 1000;