summaryrefslogtreecommitdiff
path: root/protocols/WebView/src
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/WebView/src')
-rw-r--r--protocols/WebView/src/stdafx.h3
-rw-r--r--protocols/WebView/src/webview_services.cpp4
2 files changed, 3 insertions, 4 deletions
diff --git a/protocols/WebView/src/stdafx.h b/protocols/WebView/src/stdafx.h
index 91a1ac63c1..5e351b77ed 100644
--- a/protocols/WebView/src/stdafx.h
+++ b/protocols/WebView/src/stdafx.h
@@ -15,9 +15,8 @@
#include <wchar.h>
#include <newpluginapi.h>
-#include <m_system.h>
-#include <m_clist.h>
#include <m_clist.h>
+#include <m_contacts.h>
#include <m_database.h>
#include <m_protocols.h>
#include <m_protosvc.h>
diff --git a/protocols/WebView/src/webview_services.cpp b/protocols/WebView/src/webview_services.cpp
index f0af2a30fe..c3b412c7e5 100644
--- a/protocols/WebView/src/webview_services.cpp
+++ b/protocols/WebView/src/webview_services.cpp
@@ -353,7 +353,7 @@ INT_PTR AddToList(WPARAM, LPARAM lParam)
sameurl++;
if (db_get_b(hContact, "CList", "NotOnList", 1)) {
db_unset(hContact, "CList", "NotOnList");
- Clist_HideContact(hContact, false);
+ Contact_Hide(hContact, false);
}
}
db_free(&dbv);
@@ -404,7 +404,7 @@ INT_PTR AddToList(WPARAM, LPARAM lParam)
samename++;
if (db_get_b(hContact2, "CList", "NotOnList", 1)) {
db_unset(hContact2, "CList", "NotOnList");
- Clist_HideContact(hContact2, false);
+ Contact_Hide(hContact2, false);
}
db_free(&dbv);
}