diff options
author | MikalaiR <nikolay.romanovich@narod.ru> | 2015-05-06 15:34:16 +0000 |
---|---|---|
committer | MikalaiR <nikolay.romanovich@narod.ru> | 2015-05-06 15:34:16 +0000 |
commit | 84f37f33494eb0d22a67c59dc58b3bca2bb676c7 (patch) | |
tree | 354e13909334c45b55f7d91745521feeb90ee375 /protocols/SkypeWeb/src | |
parent | 7858551cb6799b677db95b9676ea3cc1ca781e04 (diff) |
git-svn-id: http://svn.miranda-ng.org/main/trunk@13463 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/SkypeWeb/src')
-rw-r--r-- | protocols/SkypeWeb/src/skype_messages.cpp | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/protocols/SkypeWeb/src/skype_messages.cpp b/protocols/SkypeWeb/src/skype_messages.cpp index 76bce319aa..5e68bfcfad 100644 --- a/protocols/SkypeWeb/src/skype_messages.cpp +++ b/protocols/SkypeWeb/src/skype_messages.cpp @@ -369,13 +369,18 @@ void CSkypeProto::OnPrivateMessageEvent(JSONNODE *node) } //Picture
else if (!mir_strcmpi(messageType, "RichText/Contacts")){}
+
+ if (clientMsgId)
+ {
+ PushRequest(new MarkMessageReadRequest(skypename, RegToken, _ttoi(json_as_string(json_get(node, "id"))), timestamp, false, Server));
+ }
}
int CSkypeProto::OnDbEventRead(WPARAM hContact, LPARAM hDbEvent)
{
debugLogA(__FUNCTION__);
- if (IsOnline() && !isChatRoom(hContact) && !mir_strcmp(GetContactProto(hContact), m_szModuleName))
- MarkMessagesRead(hContact, hDbEvent);
+ //if (IsOnline() && !isChatRoom(hContact) && !mir_strcmp(GetContactProto(hContact), m_szModuleName))
+ // MarkMessagesRead(hContact, hDbEvent);
return 0;
}
|