summaryrefslogtreecommitdiff
path: root/protocols/JabberG/src
diff options
context:
space:
mode:
authorKonstantin Nikulin <apollo2k4@narod.ru>2016-03-03 17:47:19 +0000
committerKonstantin Nikulin <apollo2k4@narod.ru>2016-03-03 17:47:19 +0000
commit7ef2f619fc5d245defbef5ccff6b55c1fb19bf31 (patch)
tree17a09f43463f8bcc9210e42aa222c578dc18ba94 /protocols/JabberG/src
parente5287627d957b092d11ba8031e4d30dc7f79cbd5 (diff)
add Yandex presets from jabber
git-svn-id: http://svn.miranda-ng.org/main/trunk@16407 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/JabberG/src')
-rw-r--r--protocols/JabberG/src/jabber_opt.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/protocols/JabberG/src/jabber_opt.cpp b/protocols/JabberG/src/jabber_opt.cpp
index 12a5b97664..5e2057470a 100644
--- a/protocols/JabberG/src/jabber_opt.cpp
+++ b/protocols/JabberG/src/jabber_opt.cpp
@@ -1603,6 +1603,7 @@ protected:
m_cbType.AddString(TranslateT("Google Talk!"), ACC_GTALK);
m_cbType.AddString(TranslateT("LiveJournal Talk"), ACC_LJTALK);
m_cbType.AddString(TranslateT("Odnoklassniki"), ACC_OK);
+ m_cbType.AddString(TranslateT("Yandex"), ACC_YANDEX;
m_cbType.AddString(TranslateT("S.ms"), ACC_SMS);
char server[256], manualServer[256]={0};
@@ -1624,6 +1625,10 @@ protected:
m_cbType.SetCurSel(ACC_OK);
m_canregister = false;
}
+ else if (!mir_strcmp(server, "ya.ru")) {
+ m_cbType.SetCurSel(ACC_YANDEX);
+ m_canregister = false;
+ }
else if (!mir_strcmp(server, "S.ms")) {
m_cbType.SetCurSel(ACC_SMS);
m_canregister = false;