From 84261a1bda35dcdd1a4e56c3a573a169092f7363 Mon Sep 17 00:00:00 2001 From: Alexander Lantsev Date: Thu, 9 Apr 2015 20:04:12 +0000 Subject: SkypeWeb: attempt to speed up contact lookup git-svn-id: http://svn.miranda-ng.org/main/trunk@12717 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/SkypeWeb/src/skype_proto.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (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 78ee87e342..0d6203655c 100644 --- a/protocols/SkypeWeb/src/skype_proto.h +++ b/protocols/SkypeWeb/src/skype_proto.h @@ -164,6 +164,8 @@ private: void LoadProfile(const NETLIBHTTPREQUEST *response); // contacts + std::map contactMap; + WORD GetContactStatus(MCONTACT hContact); void SetContactStatus(MCONTACT hContact, WORD status); void SetAllContactsStatus(WORD status); @@ -193,7 +195,7 @@ private: // messages mir_cs messageSyncLock; - MEVENT GetMessageFromDB(MCONTACT hContact, const char *messageId, LONGLONG timestamp = 0); + MEVENT GetMessageFromDb(MCONTACT hContact, const char *messageId, LONGLONG timestamp = 0); MEVENT AddMessageToDb(MCONTACT hContact, DWORD timestamp, DWORD flags, const char *messageId, char *content, int emoteOffset = 0); int OnReceiveMessage(const char *messageId, const char *url, time_t timestamp, char *content, int emoteOffset = 0, bool isRead = false); -- cgit v1.2.3