From 2cd071fd8de860655b981d22ecac139cd6e4411b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20P=C3=B6sel?= Date: Tue, 23 Dec 2014 15:30:02 +0000 Subject: 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 --- protocols/FacebookRM/src/utils.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'protocols/FacebookRM/src/utils.cpp') 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; } -- cgit v1.2.3