From 55a33c37e737d801a28bf7e75f828090ef67b224 Mon Sep 17 00:00:00 2001 From: MikalaiR Date: Wed, 2 Sep 2015 11:47:10 +0000 Subject: SkypeWeb: fixed messageid problems (test it!) git-svn-id: http://svn.miranda-ng.org/main/trunk@15147 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/SkypeWeb/src/skype_proto.h | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) (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 607c3f6e86..491f93eadb 100644 --- a/protocols/SkypeWeb/src/skype_proto.h +++ b/protocols/SkypeWeb/src/skype_proto.h @@ -250,6 +250,8 @@ private: // messages + std::map m_mpOutMessagesIds; + MEVENT GetMessageFromDb(MCONTACT hContact, const char *messageId, LONGLONG timestamp = 0); MEVENT AddDbEvent(WORD type, MCONTACT hContact, DWORD timestamp, DWORD flags, const char *content, const char *uid); MEVENT AppendDBEvent(MCONTACT hContact, MEVENT hEvent, const char *szContent, const char *szUid, time_t edit_time); @@ -351,13 +353,6 @@ 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