summaryrefslogtreecommitdiff
path: root/protocols/VKontakte
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2018-03-28 20:01:30 +0300
committerGeorge Hazan <ghazan@miranda.im>2018-03-28 20:01:30 +0300
commite7b69721b0d390cec3f81f97134a51bfef228cf8 (patch)
treea56ef2bd15fa3c995a031bec35ce0113dec22b28 /protocols/VKontakte
parent81ce57622c3166830b23eae534dacc6b008c659d (diff)
PFLAG_UNIQUEIDSETTING removed, its functionality transferred to Proto_SetUniqueId / Proto_GetUniqueId
Diffstat (limited to 'protocols/VKontakte')
-rw-r--r--protocols/VKontakte/src/main.cpp4
-rw-r--r--protocols/VKontakte/src/vk_proto.cpp3
2 files changed, 3 insertions, 4 deletions
diff --git a/protocols/VKontakte/src/main.cpp b/protocols/VKontakte/src/main.cpp
index 8516360ba0..71e8ddd3cd 100644
--- a/protocols/VKontakte/src/main.cpp
+++ b/protocols/VKontakte/src/main.cpp
@@ -77,6 +77,8 @@ struct CMPlugin : public ACCPROTOPLUGIN<CVkProto>
{
CMPlugin() :
ACCPROTOPLUGIN<CVkProto>("VKontakte")
- {}
+ {
+ SetUniqueId("ID");
+ }
}
g_plugin;
diff --git a/protocols/VKontakte/src/vk_proto.cpp b/protocols/VKontakte/src/vk_proto.cpp
index 4d3505c327..fd27121b4c 100644
--- a/protocols/VKontakte/src/vk_proto.cpp
+++ b/protocols/VKontakte/src/vk_proto.cpp
@@ -528,9 +528,6 @@ DWORD_PTR CVkProto::GetCaps(int type, MCONTACT)
case PFLAG_UNIQUEIDTEXT:
return (DWORD_PTR)"VKontakte ID";
-
- case PFLAG_UNIQUEIDSETTING:
- return (DWORD_PTR)"ID";
}
return 0;
}