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 --- plugins/SeenPlugin/src/utils.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'plugins/SeenPlugin/src/utils.cpp') diff --git a/plugins/SeenPlugin/src/utils.cpp b/plugins/SeenPlugin/src/utils.cpp index 5537de86dc..22af9a35b4 100644 --- a/plugins/SeenPlugin/src/utils.cpp +++ b/plugins/SeenPlugin/src/utils.cpp @@ -70,7 +70,7 @@ int IsWatchedProtocol(const char* szProto) BOOL isYahoo(char *protoname) { if (protoname) { - char *pszUniqueSetting = (char*)CallProtoService(protoname, PS_GETCAPS, PFLAG_UNIQUEIDSETTING, 0); + const char *pszUniqueSetting = Proto_GetUniqueId(protoname); if (pszUniqueSetting) return !mir_strcmp(pszUniqueSetting, "yahoo_id"); } @@ -80,7 +80,7 @@ BOOL isYahoo(char *protoname) BOOL isJabber(char *protoname) { if (protoname) { - char *pszUniqueSetting = (char*)CallProtoService(protoname, PS_GETCAPS, PFLAG_UNIQUEIDSETTING, 0); + const char *pszUniqueSetting = Proto_GetUniqueId(protoname); if (pszUniqueSetting) return !mir_strcmp(pszUniqueSetting, "jid"); } @@ -90,7 +90,7 @@ BOOL isJabber(char *protoname) BOOL isICQ(char *protoname) { if (protoname) { - char *pszUniqueSetting = (char*)CallProtoService(protoname, PS_GETCAPS, PFLAG_UNIQUEIDSETTING, 0); + const char *pszUniqueSetting = Proto_GetUniqueId(protoname); if (pszUniqueSetting) return !mir_strcmp(pszUniqueSetting, "UIN"); } @@ -100,7 +100,7 @@ BOOL isICQ(char *protoname) BOOL isMSN(char *protoname) { if (protoname) { - char *pszUniqueSetting = (char*)CallProtoService(protoname, PS_GETCAPS, PFLAG_UNIQUEIDSETTING, 0); + const char *pszUniqueSetting = Proto_GetUniqueId(protoname); if (pszUniqueSetting) return !mir_strcmp(pszUniqueSetting, "e-mail"); } -- cgit v1.2.3