diff options
author | MikalaiR <nikolay.romanovich@narod.ru> | 2015-05-08 16:45:41 +0000 |
---|---|---|
committer | MikalaiR <nikolay.romanovich@narod.ru> | 2015-05-08 16:45:41 +0000 |
commit | ed1356b99f5b2789496f2813ba9948c24149e60c (patch) | |
tree | 35142926060675fb09c9d48aaca540b4bc45046e /protocols/SkypeWeb/src | |
parent | b407d47ca76f357c4647893c6c2f6e294a9c6ef0 (diff) |
git-svn-id: http://svn.miranda-ng.org/main/trunk@13486 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/SkypeWeb/src')
-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 35b849c89e..320bd1177b 100644 --- a/protocols/SkypeWeb/src/skype_messages.cpp +++ b/protocols/SkypeWeb/src/skype_messages.cpp @@ -173,7 +173,7 @@ void CSkypeProto::OnPrivateMessageEvent(JSONNODE *node) ptrA messageType(mir_t2a(ptrT(json_as_string(json_get(node, "messagetype")))));
MCONTACT hContact = AddContact(skypename, true);
- if (!HistorySynced) db_set_dw(hContact, m_szModuleName, "LastMsgTime", (DWORD)timestamp);
+ if (HistorySynced) db_set_dw(hContact, m_szModuleName, "LastMsgTime", (DWORD)timestamp);
if (!mir_strcmpi(messageType, "Control/Typing"))
CallService(MS_PROTO_CONTACTISTYPING, hContact, PROTOTYPE_CONTACTTYPING_INFINITE);
|