From 36b134876688ed3d013f54cea0229af02ef909f0 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Fri, 27 Sep 2019 14:55:58 +0300 Subject: SkypeWeb: thy shall now manipulate with Hidden attribute just for fun --- protocols/SkypeWeb/src/skype_contacts.cpp | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'protocols/SkypeWeb/src') diff --git a/protocols/SkypeWeb/src/skype_contacts.cpp b/protocols/SkypeWeb/src/skype_contacts.cpp index 57fcdc1355..2060eac5ab 100644 --- a/protocols/SkypeWeb/src/skype_contacts.cpp +++ b/protocols/SkypeWeb/src/skype_contacts.cpp @@ -180,14 +180,10 @@ void CSkypeProto::LoadContactList(const NETLIBHTTPREQUEST *response) } else setByte(hContact, "Grant", 1); - if (item["blocked"].as_bool()) { - Clist_HideContact(hContact); + if (item["blocked"].as_bool()) setByte(hContact, "IsBlocked", 1); - } - else { - Clist_HideContact(hContact, false); + else delSetting(hContact, "IsBlocked"); - } ptrW wszGroup(Clist_GetGroup(hContact)); if (wszGroup == nullptr) { -- cgit v1.2.3