From 71cfe74d3618c15feab24032c7d4cd71d77129af Mon Sep 17 00:00:00 2001 From: dartraiden Date: Tue, 7 Apr 2020 22:57:27 +0300 Subject: MSN: moved to deprecated, banned, removed support from plugins, etc --- plugins/SmileyAdd/src/smileys.cpp | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) (limited to 'plugins/SmileyAdd/src') 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); -- cgit v1.2.3