summaryrefslogtreecommitdiff
path: root/plugins/MobileState/src/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/MobileState/src/main.cpp')
-rw-r--r--plugins/MobileState/src/main.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/MobileState/src/main.cpp b/plugins/MobileState/src/main.cpp
index 8d7e93c552..29ed1e40ae 100644
--- a/plugins/MobileState/src/main.cpp
+++ b/plugins/MobileState/src/main.cpp
@@ -51,7 +51,7 @@ CMPlugin::CMPlugin() :
bool hasMobileClient(MCONTACT hContact, LPARAM)
{
- char *proto = GetContactProto(hContact);
+ char *proto = Proto_GetBaseAccountName(hContact);
ptrW client(db_get_wsa(hContact, proto, "MirVer"));
if (client) {
@@ -84,7 +84,7 @@ static int ExtraIconsApply(WPARAM wParam, LPARAM lParam)
static int onContactSettingChanged(WPARAM wParam, LPARAM lParam)
{
- char *proto = GetContactProto(wParam);
+ char *proto = Proto_GetBaseAccountName(wParam);
if (!proto)
return 0;