summaryrefslogtreecommitdiff
path: root/protocols/FacebookRM/src/utils.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/utils.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/utils.cpp')
-rw-r--r--protocols/FacebookRM/src/utils.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/protocols/FacebookRM/src/utils.cpp b/protocols/FacebookRM/src/utils.cpp
index 48f15876e9..bceae044cf 100644
--- a/protocols/FacebookRM/src/utils.cpp
+++ b/protocols/FacebookRM/src/utils.cpp
@@ -57,9 +57,9 @@ std::string utils::time::mili_timestamp()
DWORD utils::time::fix_timestamp(unsigned __int64 mili_timestamp)
{
// If it is really mili_timestamp
- if (mili_timestamp > 100000000000) {
+ if (mili_timestamp > 100000000000)
mili_timestamp /= 1000;
- }
+
return (DWORD)mili_timestamp;
}