From 039db3b302a3f7a3e78f89e430c8cb83efb12b5e Mon Sep 17 00:00:00 2001 From: MikalaiR Date: Tue, 1 Sep 2015 12:00:50 +0000 Subject: SkypeWeb: clientmessageid = time in milliseconds (fix doubles in linux client) git-svn-id: http://svn.miranda-ng.org/main/trunk@15134 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/SkypeWeb/src/skype_proto.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'protocols/SkypeWeb/src/skype_proto.h') diff --git a/protocols/SkypeWeb/src/skype_proto.h b/protocols/SkypeWeb/src/skype_proto.h index be8ad8ef75..607c3f6e86 100644 --- a/protocols/SkypeWeb/src/skype_proto.h +++ b/protocols/SkypeWeb/src/skype_proto.h @@ -351,6 +351,13 @@ private: static void CALLBACK TimerProc(HWND, UINT, UINT_PTR, DWORD); //---/ + __inline ULONGLONG GenerateMessageId() + { + _timeb timeb; + _ftime(&timeb); + return (ULONGLONG)((timeb.time * 1000) + timeb.millitm); + } + time_t GetLastMessageTime(MCONTACT hContact); CMString RunConfirmationCode(); CMString ChangeTopicForm(); -- cgit v1.2.3