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/YAMN/src/main.cpp | 1 + plugins/YAMN/src/services.cpp | 2 -- 2 files changed, 1 insertion(+), 2 deletions(-) (limited to 'plugins/YAMN/src') diff --git a/plugins/YAMN/src/main.cpp b/plugins/YAMN/src/main.cpp index 1e5a26ecb9..edfbf9c6ec 100644 --- a/plugins/YAMN/src/main.cpp +++ b/plugins/YAMN/src/main.cpp @@ -368,6 +368,7 @@ struct CMPlugin : public CMPluginBase CMPluginBase(YAMN_DBMODULE) { RegisterProtocol(PROTOTYPE_VIRTUAL); + SetUniqueId("Id"); } } g_plugin; diff --git a/plugins/YAMN/src/services.cpp b/plugins/YAMN/src/services.cpp index c667d3df4a..d6d4cb6a9e 100644 --- a/plugins/YAMN/src/services.cpp +++ b/plugins/YAMN/src/services.cpp @@ -8,8 +8,6 @@ static INT_PTR Service_GetCaps(WPARAM wParam, LPARAM) return (INT_PTR) Translate("Nick"); if (wParam == PFLAG_MAXLENOFMESSAGE) return 400; - if (wParam == PFLAG_UNIQUEIDSETTING) - return (INT_PTR) "Id"; if (wParam == PFLAGNUM_2) return PF2_ONLINE | PF2_SHORTAWAY | PF2_LONGAWAY | PF2_LIGHTDND; if (wParam == PFLAGNUM_5) { -- cgit v1.2.3