summaryrefslogtreecommitdiff
path: root/protocols/Dummy/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 /protocols/Dummy/src
parentea45fcc6216051c084a762a8fd2d170e095bb1ba (diff)
fix for a function name:
Clist_IsHidden => Contact_IsHidden Clist_HideContact => Contact_Hide
Diffstat (limited to 'protocols/Dummy/src')
-rw-r--r--protocols/Dummy/src/dummy_proto.cpp4
-rw-r--r--protocols/Dummy/src/stdafx.h1
2 files changed, 3 insertions, 2 deletions
diff --git a/protocols/Dummy/src/dummy_proto.cpp b/protocols/Dummy/src/dummy_proto.cpp
index 6fc7b953cf..5806991b23 100644
--- a/protocols/Dummy/src/dummy_proto.cpp
+++ b/protocols/Dummy/src/dummy_proto.cpp
@@ -154,11 +154,11 @@ MCONTACT CDummyProto::AddToList(int flags, PROTOSEARCHRESULT* psr)
Proto_AddToContact(hContact, m_szModuleName);
if (flags & PALF_TEMPORARY) {
- Clist_HideContact(hContact);
+ Contact_Hide(hContact);
db_set_b(hContact, "CList", "NotOnList", 1);
}
else if (db_get_b(hContact, "CList", "NotOnList", 0)) {
- Clist_HideContact(hContact, false);
+ Contact_Hide(hContact, false);
db_unset(hContact, "CList", "NotOnList");
}
setWString(hContact, uniqueIdSetting, psr->id.w);
diff --git a/protocols/Dummy/src/stdafx.h b/protocols/Dummy/src/stdafx.h
index 3655b635ae..0b5ef8d72d 100644
--- a/protocols/Dummy/src/stdafx.h
+++ b/protocols/Dummy/src/stdafx.h
@@ -31,6 +31,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#include <m_avatars.h>
#include <m_chat.h>
#include <m_clistint.h>
+#include <m_contacts.h>
#include <m_database.h>
#include <m_extraicons.h>
#include <m_file.h>