diff options
author | MikalaiR <nikolay.romanovich@narod.ru> | 2015-04-26 12:51:25 +0000 |
---|---|---|
committer | MikalaiR <nikolay.romanovich@narod.ru> | 2015-04-26 12:51:25 +0000 |
commit | aed7583d1b058a421d95d34719ec398bd40bd760 (patch) | |
tree | 3f99cc9cb915283febcf772e0b73b5967e3a4e57 /protocols/SkypeWeb/src/skype_contacts.cpp | |
parent | 8ff5ba190f6d71a4ecabbdd953dbaec8631649ea (diff) |
SkypeWeb:
Contacts removing.
git-svn-id: http://svn.miranda-ng.org/main/trunk@13167 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/SkypeWeb/src/skype_contacts.cpp')
-rw-r--r-- | protocols/SkypeWeb/src/skype_contacts.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/protocols/SkypeWeb/src/skype_contacts.cpp b/protocols/SkypeWeb/src/skype_contacts.cpp index d94fab1e1c..84a46cf912 100644 --- a/protocols/SkypeWeb/src/skype_contacts.cpp +++ b/protocols/SkypeWeb/src/skype_contacts.cpp @@ -267,5 +267,7 @@ INT_PTR CSkypeProto::OnGrantAuth(WPARAM hContact, LPARAM) int CSkypeProto::OnContactDeleted(MCONTACT hContact, LPARAM)
{
+ if (hContact && !isChatRoom(hContact))
+ PushRequest(new DeleteContactRequest(TokenSecret, db_get_sa(hContact, m_szModuleName, SKYPE_SETTINGS_ID)));
return 0;
}
\ No newline at end of file |