summaryrefslogtreecommitdiff
path: root/protocols/YAMN
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/YAMN')
-rw-r--r--protocols/YAMN/src/proto/pop3/pop3comm.cpp4
-rw-r--r--protocols/YAMN/src/services.cpp2
-rw-r--r--protocols/YAMN/src/stdafx.h13
3 files changed, 10 insertions, 9 deletions
diff --git a/protocols/YAMN/src/proto/pop3/pop3comm.cpp b/protocols/YAMN/src/proto/pop3/pop3comm.cpp
index 2eb6f725f7..526ffaad03 100644
--- a/protocols/YAMN/src/proto/pop3/pop3comm.cpp
+++ b/protocols/YAMN/src/proto/pop3/pop3comm.cpp
@@ -289,10 +289,10 @@ int RegisterPOP3Plugin(WPARAM, LPARAM)
g_plugin.setWord(Finder->hContact, "Status", ID_STATUS_ONLINE);
db_set_s(Finder->hContact, "CList", "StatusMsg", Translate("No new mail message"));
if ((Finder->Flags & YAMN_ACC_ENA) && (Finder->NewMailN.Flags & YAMN_ACC_CONT))
- Clist_HideContact(Finder->hContact, false);
+ Contact_Hide(Finder->hContact, false);
if (!(Finder->Flags & YAMN_ACC_ENA) || !(Finder->NewMailN.Flags & YAMN_ACC_CONT))
- Clist_HideContact(Finder->hContact);
+ Contact_Hide(Finder->hContact);
}
db_free(&dbv);
}
diff --git a/protocols/YAMN/src/services.cpp b/protocols/YAMN/src/services.cpp
index 0ba33321ee..7e2a684400 100644
--- a/protocols/YAMN/src/services.cpp
+++ b/protocols/YAMN/src/services.cpp
@@ -433,7 +433,7 @@ void RefreshContact(void)
CAccount *Finder;
for (Finder = POP3Plugin->FirstAccount; Finder != nullptr; Finder = Finder->Next) {
if (Finder->hContact != NULL) {
- Clist_HideContact(Finder->hContact, !(Finder->Flags & YAMN_ACC_ENA) && (Finder->NewMailN.Flags & YAMN_ACC_CONT));
+ Contact_Hide(Finder->hContact, !(Finder->Flags & YAMN_ACC_ENA) && (Finder->NewMailN.Flags & YAMN_ACC_CONT));
}
else if ((Finder->Flags & YAMN_ACC_ENA) && (Finder->NewMailN.Flags & YAMN_ACC_CONT)) {
Finder->hContact = db_add_contact();
diff --git a/protocols/YAMN/src/stdafx.h b/protocols/YAMN/src/stdafx.h
index 44bb1037dd..6d56c51a15 100644
--- a/protocols/YAMN/src/stdafx.h
+++ b/protocols/YAMN/src/stdafx.h
@@ -10,17 +10,18 @@
#include <win2k.h>
#include <newpluginapi.h>
-#include <m_skin.h>
-#include <m_langpack.h>
#include <m_clistint.h>
-#include <m_options.h>
+#include <m_contacts.h>
#include <m_database.h>
-#include <m_protosvc.h>
+#include <m_hotkeys.h>
#include <m_icolib.h>
-#include <m_popup.h>
+#include <m_langpack.h>
#include <m_messages.h>
#include <m_netlib.h>
-#include <m_hotkeys.h>
+#include <m_options.h>
+#include <m_popup.h>
+#include <m_protosvc.h>
+#include <m_skin.h>
#include <m_timezones.h>
#include <m_toptoolbar.h>