From e441a31e9f912fc8e9244d16560565559b1924d2 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Fri, 27 Sep 2019 23:43:06 +0300 Subject: end of manual experiments with CList/NotOnList --- plugins/KeyboardNotify/src/ignore.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/KeyboardNotify/src') diff --git a/plugins/KeyboardNotify/src/ignore.cpp b/plugins/KeyboardNotify/src/ignore.cpp index 4fd2ba56f2..878b9a4d8c 100644 --- a/plugins/KeyboardNotify/src/ignore.cpp +++ b/plugins/KeyboardNotify/src/ignore.cpp @@ -32,7 +32,7 @@ static DWORD GetMask(MCONTACT hContact) if(hContact == NULL) mask=0; else { - if (Contact_IsHidden(hContact) || db_get_b(hContact, "CList", "NotOnList", 0)) + if (Contact_IsHidden(hContact) || !Contact_OnList(hContact)) mask = g_plugin.getDword("Mask1", 0); else mask = g_plugin.getDword("Default1", 0); -- cgit v1.2.3