summaryrefslogtreecommitdiff
path: root/protocols/MRA/src
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/MRA/src
parent81ce57622c3166830b23eae534dacc6b008c659d (diff)
PFLAG_UNIQUEIDSETTING removed, its functionality transferred to Proto_SetUniqueId / Proto_GetUniqueId
Diffstat (limited to 'protocols/MRA/src')
-rw-r--r--protocols/MRA/src/MraProto.cpp3
-rw-r--r--protocols/MRA/src/MraProto.h4
2 files changed, 3 insertions, 4 deletions
diff --git a/protocols/MRA/src/MraProto.cpp b/protocols/MRA/src/MraProto.cpp
index 89f2046dae..819587e4e6 100644
--- a/protocols/MRA/src/MraProto.cpp
+++ b/protocols/MRA/src/MraProto.cpp
@@ -271,9 +271,6 @@ DWORD_PTR CMraProto::GetCaps(int type, MCONTACT)
case PFLAG_MAXCONTACTSPERPACKET:
return MRA_MAXCONTACTSPERPACKET;
- case PFLAG_UNIQUEIDSETTING:
- return (INT_PTR)"e-mail";
-
case PFLAG_MAXLENOFMESSAGE:
return MRA_MAXLENOFMESSAGE;
diff --git a/protocols/MRA/src/MraProto.h b/protocols/MRA/src/MraProto.h
index b6f2bede82..be0302ea39 100644
--- a/protocols/MRA/src/MraProto.h
+++ b/protocols/MRA/src/MraProto.h
@@ -344,5 +344,7 @@ struct CMPlugin : public ACCPROTOPLUGIN<CMraProto>
{
CMPlugin() :
ACCPROTOPLUGIN<CMraProto>("MRA")
- {}
+ {
+ SetUniqueId("e-mail");
+ }
};