summaryrefslogtreecommitdiff
path: root/plugins/MobileState/src
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2019-12-04 16:08:03 +0300
committerGeorge Hazan <ghazan@miranda.im>2019-12-04 16:08:03 +0300
commit3bb16e798cb51d5764aacbefd4edf26f52d8c4f0 (patch)
tree59dbb53fc9496d660ec2ef2846a4eab0f1720b88 /plugins/MobileState/src
parent3216d8df5cb355f34c82ed10b7e40bab7525b697 (diff)
GetContactProto: useless duplicate function replaced with standard Proto_GetBaseAccountName
Diffstat (limited to 'plugins/MobileState/src')
-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;