diff options
author | MikalaiR <nikolay.romanovich@narod.ru> | 2015-09-01 12:00:50 +0000 |
---|---|---|
committer | MikalaiR <nikolay.romanovich@narod.ru> | 2015-09-01 12:00:50 +0000 |
commit | 039db3b302a3f7a3e78f89e430c8cb83efb12b5e (patch) | |
tree | 27a05aa06be93ed06e6050805f6c4d6f8cb2046f /protocols/SkypeWeb/src/skype_proto.h | |
parent | 4b2a0c3b6959c5691152af85b726b0f6a9398d3a (diff) |
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
Diffstat (limited to 'protocols/SkypeWeb/src/skype_proto.h')
-rw-r--r-- | protocols/SkypeWeb/src/skype_proto.h | 7 |
1 files changed, 7 insertions, 0 deletions
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();
|