diff options
author | MikalaiR <nikolay.romanovich@narod.ru> | 2015-05-15 11:16:02 +0000 |
---|---|---|
committer | MikalaiR <nikolay.romanovich@narod.ru> | 2015-05-15 11:16:02 +0000 |
commit | 4336962bfb77acdebcb167571a8ce9e1d6c26778 (patch) | |
tree | 669956b61f8175bfe376e823af3519c8d463d940 /protocols/SkypeWeb | |
parent | 35de95108c89e489ccba2c7e8696530e396a142d (diff) |
SkypeWeb: Not add removed contacts to contact list.
git-svn-id: http://svn.miranda-ng.org/main/trunk@13602 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/SkypeWeb')
-rw-r--r-- | protocols/SkypeWeb/src/skype_history_sync.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/protocols/SkypeWeb/src/skype_history_sync.cpp b/protocols/SkypeWeb/src/skype_history_sync.cpp index f6e6e3dd03..680a4521e0 100644 --- a/protocols/SkypeWeb/src/skype_history_sync.cpp +++ b/protocols/SkypeWeb/src/skype_history_sync.cpp @@ -240,7 +240,9 @@ void CSkypeProto::OnSyncHistory(const NETLIBHTTPREQUEST *response) if (conversationLink != NULL && strstr(conversationLink, "/8:"))
{
skypename = ContactUrlToName(conversationLink);
- MCONTACT hContact = AddContact(skypename, true);
+ MCONTACT hContact = FindContact(skypename);
+ if (hContact == NULL)
+ continue;
if (/*GetLastMessageTime(hContact) < composeTime || */db_get_dw(hContact, m_szModuleName, "LastMsgTime", 0) < composeTime)
{
|