From 426e2f9755a14023223e2e3ebfa8e78f6e8677a8 Mon Sep 17 00:00:00 2001
From: George Hazan <ghazan@miranda.im>
Date: Fri, 27 Sep 2019 21:32:12 +0300
Subject: fix for a function name:

Clist_IsHidden => Contact_IsHidden
Clist_HideContact => Contact_Hide
---
 plugins/SecureIM/src/commonheaders.h | 1 +
 plugins/SecureIM/src/crypt_check.cpp | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

(limited to 'plugins/SecureIM')

diff --git a/plugins/SecureIM/src/commonheaders.h b/plugins/SecureIM/src/commonheaders.h
index e2ac1fcc5f..794d5dd4db 100644
--- a/plugins/SecureIM/src/commonheaders.h
+++ b/plugins/SecureIM/src/commonheaders.h
@@ -21,6 +21,7 @@
 
 #include <win2k.h>
 #include <newpluginapi.h>
+#include <m_contacts.h>
 #include <m_database.h>
 #include <m_protosvc.h>
 #include <m_langpack.h>
diff --git a/plugins/SecureIM/src/crypt_check.cpp b/plugins/SecureIM/src/crypt_check.cpp
index fb9c691e6b..0b5116682d 100644
--- a/plugins/SecureIM/src/crypt_check.cpp
+++ b/plugins/SecureIM/src/crypt_check.cpp
@@ -96,7 +96,7 @@ bool isProtoSmallPackets(MCONTACT hContact)
 
 bool isContactInvisible(MCONTACT hContact)
 {
-	if (!db_mc_isSub(hContact) && Clist_IsHidden(hContact))
+	if (!db_mc_isSub(hContact) && Contact_IsHidden(hContact))
 		return true;
 
 	pUinKey p = findUinKey(hContact);
-- 
cgit v1.2.3