diff options
author | George Hazan <ghazan@miranda.im> | 2018-03-28 20:01:30 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2018-03-28 20:01:30 +0300 |
commit | e7b69721b0d390cec3f81f97134a51bfef228cf8 (patch) | |
tree | a56ef2bd15fa3c995a031bec35ce0113dec22b28 /plugins/YAMN | |
parent | 81ce57622c3166830b23eae534dacc6b008c659d (diff) |
PFLAG_UNIQUEIDSETTING removed, its functionality transferred to Proto_SetUniqueId / Proto_GetUniqueId
Diffstat (limited to 'plugins/YAMN')
-rw-r--r-- | plugins/YAMN/src/main.cpp | 1 | ||||
-rw-r--r-- | plugins/YAMN/src/services.cpp | 2 |
2 files changed, 1 insertions, 2 deletions
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) {
|