diff options
author | George Hazan <ghazan@miranda.im> | 2019-07-12 19:20:45 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2019-07-12 19:20:45 +0300 |
commit | c311534fbf724850cbd8555a9e57f67b3096d7a0 (patch) | |
tree | 73105ae67eebae560f162a90a194016e4d06565c /protocols/SkypeWeb/src/skype_messages.cpp | |
parent | 75ac9efb6ed49795e21796419fcf8759c0d859dd (diff) |
SkypeWeb:
- fixes #2002 (Skype caches wrong server data);
- unused structure removed;
- version bump
Diffstat (limited to 'protocols/SkypeWeb/src/skype_messages.cpp')
-rw-r--r-- | protocols/SkypeWeb/src/skype_messages.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/protocols/SkypeWeb/src/skype_messages.cpp b/protocols/SkypeWeb/src/skype_messages.cpp index 80f054b2f8..565f4e1153 100644 --- a/protocols/SkypeWeb/src/skype_messages.cpp +++ b/protocols/SkypeWeb/src/skype_messages.cpp @@ -41,9 +41,9 @@ int CSkypeProto::OnSendMessage(MCONTACT hContact, int, const char *szMessage) ptrA username(getStringA(hContact, "Skypename"));
if (strncmp(szMessage, "/me ", 4) == 0)
- SendRequest(new SendActionRequest(username, param->hMessage, &szMessage[4], li), &CSkypeProto::OnMessageSent, param);
+ SendRequest(new SendActionRequest(username, param->hMessage, &szMessage[4], this), &CSkypeProto::OnMessageSent, param);
else
- SendRequest(new SendMessageRequest(username, param->hMessage, szMessage, li), &CSkypeProto::OnMessageSent, param);
+ SendRequest(new SendMessageRequest(username, param->hMessage, szMessage, this), &CSkypeProto::OnMessageSent, param);
{
mir_cslock lck(m_lckOutMessagesList);
@@ -192,7 +192,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(Contacts[hContact], timestamp, timestamp, false, li));
+ PushRequest(new MarkMessageReadRequest(Contacts[hContact], timestamp, timestamp, false, this));
}
void CSkypeProto::ProcessContactRecv(MCONTACT hContact, time_t timestamp, const char *szContent, const char *szMessageId)
|