From 122306cee52b2da3694e3e04ad139fe92def1693 Mon Sep 17 00:00:00 2001 From: MikalaiR Date: Wed, 13 Apr 2016 16:12:52 +0000 Subject: SkypeWeb: code cleaning git-svn-id: http://svn.miranda-ng.org/main/trunk@16643 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/SkypeWeb/src/skype_messages.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'protocols/SkypeWeb/src/skype_messages.cpp') diff --git a/protocols/SkypeWeb/src/skype_messages.cpp b/protocols/SkypeWeb/src/skype_messages.cpp index e3e9e6df10..2fd99c5d67 100644 --- a/protocols/SkypeWeb/src/skype_messages.cpp +++ b/protocols/SkypeWeb/src/skype_messages.cpp @@ -264,14 +264,13 @@ int CSkypeProto::OnDbEventRead(WPARAM hContact, LPARAM hDbEvent) void CSkypeProto::MarkMessagesRead(MCONTACT hContact, MEVENT hDbEvent) { debugLogA(__FUNCTION__); - ptrA username(db_get_sa(hContact, m_szModuleName, SKYPE_SETTINGS_ID)); DBEVENTINFO dbei = { sizeof(dbei) }; db_event_get(hDbEvent, &dbei); time_t timestamp = dbei.timestamp; if(db_get_dw(hContact, m_szModuleName, "LastMsgTime", 0) > (timestamp - 300)) - PushRequest(new MarkMessageReadRequest(username, timestamp, timestamp, false, li)); + PushRequest(new MarkMessageReadRequest(CID(this, hContact), timestamp, timestamp, false, li)); } -- cgit v1.2.3