diff options
author | MikalaiR <nikolay.romanovich@narod.ru> | 2015-05-25 10:29:57 +0000 |
---|---|---|
committer | MikalaiR <nikolay.romanovich@narod.ru> | 2015-05-25 10:29:57 +0000 |
commit | 53bf91d28b743808fad6b2afd2c8820d4dfa79eb (patch) | |
tree | 90428f629141b02c0bf68086743d0b414a797197 /protocols/SkypeWeb/src/skype_poll_processing.cpp | |
parent | 770ee64de91d889e52f874f1f052195ab8a58010 (diff) |
SkypeWeb: Fix adding deleted contacts to clist.
git-svn-id: http://svn.miranda-ng.org/main/trunk@13829 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/SkypeWeb/src/skype_poll_processing.cpp')
-rw-r--r-- | protocols/SkypeWeb/src/skype_poll_processing.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/protocols/SkypeWeb/src/skype_poll_processing.cpp b/protocols/SkypeWeb/src/skype_poll_processing.cpp index ba65d4cc06..1cddd3fe2e 100644 --- a/protocols/SkypeWeb/src/skype_poll_processing.cpp +++ b/protocols/SkypeWeb/src/skype_poll_processing.cpp @@ -131,8 +131,9 @@ void CSkypeProto::ProcessUserPresenceRes(JSONNODE *node) }
else
{
- MCONTACT hContact = AddContact(skypename, true);
- SetContactStatus(hContact, SkypeToMirandaStatus(status));
+ MCONTACT hContact = FindContact(skypename);
+ if (hContact != NULL)
+ SetContactStatus(hContact, SkypeToMirandaStatus(status));
}
}
}
|