diff options
author | MikalaiR <nikolay.romanovich@narod.ru> | 2016-04-25 16:04:06 +0000 |
---|---|---|
committer | MikalaiR <nikolay.romanovich@narod.ru> | 2016-04-25 16:04:06 +0000 |
commit | 3bf8dd214686baa698ec98c16d49f320d6f4eee8 (patch) | |
tree | d3786a64c6929919225ed2086deb8e59008f6a8f /protocols/SkypeWeb/src/skype_messages.cpp | |
parent | ab53e157ddc1eddbfa072d43d62d244443f41815 (diff) |
SkypeWeb: database optimization
git-svn-id: http://svn.miranda-ng.org/main/trunk@16765 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/SkypeWeb/src/skype_messages.cpp')
-rw-r--r-- | protocols/SkypeWeb/src/skype_messages.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/SkypeWeb/src/skype_messages.cpp b/protocols/SkypeWeb/src/skype_messages.cpp index 2fd99c5d67..b9c2257093 100644 --- a/protocols/SkypeWeb/src/skype_messages.cpp +++ b/protocols/SkypeWeb/src/skype_messages.cpp @@ -270,7 +270,7 @@ void CSkypeProto::MarkMessagesRead(MCONTACT hContact, MEVENT hDbEvent) time_t timestamp = dbei.timestamp;
if(db_get_dw(hContact, m_szModuleName, "LastMsgTime", 0) > (timestamp - 300))
- PushRequest(new MarkMessageReadRequest(CID(this, hContact), timestamp, timestamp, false, li));
+ PushRequest(new MarkMessageReadRequest(Contacts[hContact], timestamp, timestamp, false, li));
}
|