diff options
author | dartraiden <wowemuh@gmail.com> | 2020-04-07 22:57:27 +0300 |
---|---|---|
committer | dartraiden <wowemuh@gmail.com> | 2020-04-07 22:57:44 +0300 |
commit | 71cfe74d3618c15feab24032c7d4cd71d77129af (patch) | |
tree | 7b3e5fcababe16ce26b8b8bfc8591d9732e2cb33 /plugins/SmileyAdd/src | |
parent | 559cc9efdc9fbc5d3da5edaaf24924e0cc57a20d (diff) |
MSN: moved to deprecated, banned, removed support from plugins, etc
Diffstat (limited to 'plugins/SmileyAdd/src')
-rw-r--r-- | plugins/SmileyAdd/src/smileys.cpp | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/plugins/SmileyAdd/src/smileys.cpp b/plugins/SmileyAdd/src/smileys.cpp index 2f8ab68b0a..3264a36e2d 100644 --- a/plugins/SmileyAdd/src/smileys.cpp +++ b/plugins/SmileyAdd/src/smileys.cpp @@ -822,8 +822,6 @@ void SmileyCategoryListType::AddAccountAsCategory(PROTOACCOUNT *acc, const CMStr const char *packnam = acc->szProtoName; if (mir_strcmp(packnam, "JABBER") == 0) packnam = "JGMail"; - else if (strstr(packnam, "SIP") != nullptr) - packnam = "MSN"; wchar_t path[MAX_PATH]; mir_snwprintf(path, L"%s\\Smileys\\nova\\%S.msl", g_plugin.wszDefaultPath, packnam); @@ -844,8 +842,6 @@ void SmileyCategoryListType::AddProtoAsCategory(char *acc, const CMStringW &defa const char *packnam = acc; if (mir_strcmp(packnam, "JABBER") == 0) packnam = "JGMail"; - else if (strstr(packnam, "SIP") != nullptr) - packnam = "MSN"; // assemble default path CMStringW paths(FORMAT, L"%s\\Smileys\\nova\\%S.msl", g_plugin.wszDefaultPath, packnam); @@ -902,16 +898,12 @@ void SmileyCategoryListType::AddContactTransportAsCategory(MCONTACT hContact, co _strlwr(trsp); const char *packname = nullptr; - if (strstr(trsp, "msn") != nullptr) - packname = "msn"; - else if (strstr(trsp, "icq") != nullptr) + if (strstr(trsp, "icq") != nullptr) packname = "icq"; else if (strstr(trsp, "yahoo") != nullptr) packname = "yahoo"; else if (strstr(trsp, "aim") != nullptr) packname = "aim"; - else if (strstr(trsp, "lcs") != nullptr) - packname = "msn"; mir_free(trsp); |