From 426e2f9755a14023223e2e3ebfa8e78f6e8677a8 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Fri, 27 Sep 2019 21:32:12 +0300 Subject: fix for a function name: Clist_IsHidden => Contact_IsHidden Clist_HideContact => Contact_Hide --- plugins/ClientChangeNotify/src/ClientChangeNotify.cpp | 2 +- plugins/ClientChangeNotify/src/stdafx.h | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) (limited to 'plugins/ClientChangeNotify') diff --git a/plugins/ClientChangeNotify/src/ClientChangeNotify.cpp b/plugins/ClientChangeNotify/src/ClientChangeNotify.cpp index 7cbd225163..655f626bd8 100644 --- a/plugins/ClientChangeNotify/src/ClientChangeNotify.cpp +++ b/plugins/ClientChangeNotify/src/ClientChangeNotify.cpp @@ -212,7 +212,7 @@ int ContactSettingChanged(WPARAM hContact, LPARAM lParam) if (!hContactOrMeta) hContactOrMeta = hContact; - if (hContact && Clist_IsHidden(hContactOrMeta)) + if (hContact && Contact_IsHidden(hContactOrMeta)) return 0; int PerContactSetting = hContact ? g_plugin.getByte(hContact, DB_CCN_NOTIFY, NOTIFY_USEGLOBAL) : NOTIFY_ALWAYS; // NOTIFY_ALWAYS for preview diff --git a/plugins/ClientChangeNotify/src/stdafx.h b/plugins/ClientChangeNotify/src/stdafx.h index 676c1bbeaf..b152ec70e5 100644 --- a/plugins/ClientChangeNotify/src/stdafx.h +++ b/plugins/ClientChangeNotify/src/stdafx.h @@ -32,6 +32,7 @@ #include #include "newpluginapi.h" +#include "m_contacts.h" #include "statusmodes.h" #include "m_popup.h" #include "m_skin.h" -- cgit v1.2.3