From e7b69721b0d390cec3f81f97134a51bfef228cf8 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Wed, 28 Mar 2018 20:01:30 +0300 Subject: PFLAG_UNIQUEIDSETTING removed, its functionality transferred to Proto_SetUniqueId / Proto_GetUniqueId --- protocols/Gadu-Gadu/src/gg_proto.cpp | 2 -- protocols/Gadu-Gadu/src/gg_proto.h | 4 +++- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'protocols/Gadu-Gadu') diff --git a/protocols/Gadu-Gadu/src/gg_proto.cpp b/protocols/Gadu-Gadu/src/gg_proto.cpp index 30e9cbc5f9..10fbfc5aba 100644 --- a/protocols/Gadu-Gadu/src/gg_proto.cpp +++ b/protocols/Gadu-Gadu/src/gg_proto.cpp @@ -156,8 +156,6 @@ DWORD_PTR GaduProto::GetCaps(int type, MCONTACT) return PF2_LONGAWAY; case PFLAG_UNIQUEIDTEXT: return (DWORD_PTR)Translate("Gadu-Gadu Number"); - case PFLAG_UNIQUEIDSETTING: - return (DWORD_PTR)GG_KEY_UIN; } return 0; } diff --git a/protocols/Gadu-Gadu/src/gg_proto.h b/protocols/Gadu-Gadu/src/gg_proto.h index ff973f010d..2a2ed13659 100644 --- a/protocols/Gadu-Gadu/src/gg_proto.h +++ b/protocols/Gadu-Gadu/src/gg_proto.h @@ -313,7 +313,9 @@ struct CMPlugin : public ACCPROTOPLUGIN { CMPlugin() : ACCPROTOPLUGIN(GGDEF_PROTO) - {} + { + SetUniqueId(GG_KEY_UIN); + } }; #endif -- cgit v1.2.3