summaryrefslogtreecommitdiff
path: root/plugins/NewXstatusNotify/src
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2019-09-27 21:32:12 +0300
committerGeorge Hazan <ghazan@miranda.im>2019-09-27 21:32:12 +0300
commit426e2f9755a14023223e2e3ebfa8e78f6e8677a8 (patch)
treeae387e1079fe63cea4d928a0e2564f218836d548 /plugins/NewXstatusNotify/src
parentea45fcc6216051c084a762a8fd2d170e095bb1ba (diff)
fix for a function name:
Clist_IsHidden => Contact_IsHidden Clist_HideContact => Contact_Hide
Diffstat (limited to 'plugins/NewXstatusNotify/src')
-rw-r--r--plugins/NewXstatusNotify/src/main.cpp2
-rw-r--r--plugins/NewXstatusNotify/src/stdafx.h1
-rw-r--r--plugins/NewXstatusNotify/src/xstatus.cpp2
3 files changed, 3 insertions, 2 deletions
diff --git a/plugins/NewXstatusNotify/src/main.cpp b/plugins/NewXstatusNotify/src/main.cpp
index 7754fd161e..ab6f591208 100644
--- a/plugins/NewXstatusNotify/src/main.cpp
+++ b/plugins/NewXstatusNotify/src/main.cpp
@@ -262,7 +262,7 @@ wchar_t* GetStr(STATUSMSGINFO *n, const wchar_t *tmplt)
bool SkipHiddenContact(MCONTACT hContact)
{
- return (!opt.HiddenContactsToo && Clist_IsHidden(hContact));
+ return (!opt.HiddenContactsToo && Contact_IsHidden(hContact));
}
void LogSMsgToDB(STATUSMSGINFO *smi, const wchar_t *tmplt)
diff --git a/plugins/NewXstatusNotify/src/stdafx.h b/plugins/NewXstatusNotify/src/stdafx.h
index af10c6de0a..48aec9fce8 100644
--- a/plugins/NewXstatusNotify/src/stdafx.h
+++ b/plugins/NewXstatusNotify/src/stdafx.h
@@ -38,6 +38,7 @@
#include <win2k.h>
#include <m_button.h>
#include <m_clc.h>
+#include <m_contacts.h>
#include <m_database.h>
#include <m_genmenu.h>
#include <m_history.h>
diff --git a/plugins/NewXstatusNotify/src/xstatus.cpp b/plugins/NewXstatusNotify/src/xstatus.cpp
index 58c30723a1..0f13da626e 100644
--- a/plugins/NewXstatusNotify/src/xstatus.cpp
+++ b/plugins/NewXstatusNotify/src/xstatus.cpp
@@ -350,7 +350,7 @@ void ExtraStatusChanged(XSTATUSCHANGE *xsc)
mir_snprintf(buff, "%d", ID_STATUS_EXTRASTATUS);
if ((g_plugin.getByte(buff, 1) == 0)
|| (db_get_w(xsc->hContact, xsc->szProto, "Status", ID_STATUS_OFFLINE) == ID_STATUS_OFFLINE)
- || (!opt.HiddenContactsToo && Clist_IsHidden(xsc->hContact))
+ || (!opt.HiddenContactsToo && Contact_IsHidden(xsc->hContact))
|| (Proto_GetStatus(xsc->szProto) == ID_STATUS_OFFLINE))
{
FreeXSC(xsc);