summaryrefslogtreecommitdiff
path: root/protocols/SkypeWeb/src/skype_contacts.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/SkypeWeb/src/skype_contacts.cpp')
-rw-r--r--protocols/SkypeWeb/src/skype_contacts.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/protocols/SkypeWeb/src/skype_contacts.cpp b/protocols/SkypeWeb/src/skype_contacts.cpp
index fd89fa0bca..effe3aa395 100644
--- a/protocols/SkypeWeb/src/skype_contacts.cpp
+++ b/protocols/SkypeWeb/src/skype_contacts.cpp
@@ -223,9 +223,11 @@ void CSkypeProto::LoadContactList(const NETLIBHTTPREQUEST *response)
node = json_get(item, "blocked");
bool isBlocked = json_as_bool(node);
setByte(hContact, "IsBlocked", isBlocked);
- db_set_b(hContact, "CList", "Hidden", isBlocked);
if (isBlocked)
+ {
db_set_dw(hContact, "Ignore", "Mask1", 127);
+ db_set_b(hContact, "CList", "Hidden", 1);
+ }
skypenames.insert(mir_strdup(skypename));
}