diff options
author | George Hazan <ghazan@miranda.im> | 2020-05-03 20:13:05 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2020-05-03 20:13:12 +0300 |
commit | afb6e1b6fda0c0df05adadbd298e6ad5cdeb5f9c (patch) | |
tree | c55bd3b68a601b9f8430cbd2d2bfd653dda2bb32 /src/mir_app | |
parent | f7b27f2c7e35c41141498fc2e472948f1dd1f140 (diff) |
we don't treat hidden subs as unknown contacts
Diffstat (limited to 'src/mir_app')
-rw-r--r-- | src/mir_app/src/ignore.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mir_app/src/ignore.cpp b/src/mir_app/src/ignore.cpp index 6fe049960a..8c78dcd3e2 100644 --- a/src/mir_app/src/ignore.cpp +++ b/src/mir_app/src/ignore.cpp @@ -38,7 +38,7 @@ static DWORD GetMask(MCONTACT hContact) if (hContact == 0)
mask = 0;
else {
- if (Contact_IsHidden(hContact) || !Contact_OnList(hContact))
+ if ((Contact_IsHidden(hContact) && !db_mc_isSub(hContact)) || !Contact_OnList(hContact))
mask = db_get_dw(0, "Ignore", "Mask1", 0);
else
mask = db_get_dw(0, "Ignore", "Default1", 0);
|