summaryrefslogtreecommitdiff
path: root/protocols/SkypeWeb/src/skype_proto.h
diff options
context:
space:
mode:
authorMikalaiR <nikolay.romanovich@narod.ru>2015-09-02 11:47:10 +0000
committerMikalaiR <nikolay.romanovich@narod.ru>2015-09-02 11:47:10 +0000
commit55a33c37e737d801a28bf7e75f828090ef67b224 (patch)
tree16a34d08487669d6415314e86b6004ff35cffe9b /protocols/SkypeWeb/src/skype_proto.h
parent087f1bdd07c3635244940a7aa51ac3732525b5d8 (diff)
SkypeWeb: fixed messageid problems (test it!)
git-svn-id: http://svn.miranda-ng.org/main/trunk@15147 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/SkypeWeb/src/skype_proto.h')
-rw-r--r--protocols/SkypeWeb/src/skype_proto.h9
1 files changed, 2 insertions, 7 deletions
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<ULONGLONG, HANDLE> 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();