summaryrefslogtreecommitdiff
path: root/protocols/JabberG
diff options
context:
space:
mode:
authorVadim Dashevskiy <watcherhd@gmail.com>2014-09-07 19:23:28 +0000
committerVadim Dashevskiy <watcherhd@gmail.com>2014-09-07 19:23:28 +0000
commit2d385bf586fad8a3e91beed11989634f1522156d (patch)
treec961abd835792eb55a30c040ddb0ea7849c77e04 /protocols/JabberG
parentbe471d5cc71162892bcd3ecd54a62a6b3d5a2cdb (diff)
use TLS for OK.ru by default
git-svn-id: http://svn.miranda-ng.org/main/trunk@10397 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/JabberG')
-rw-r--r--protocols/JabberG/src/jabber_opt.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/protocols/JabberG/src/jabber_opt.cpp b/protocols/JabberG/src/jabber_opt.cpp
index a1978f2c89..2237156d80 100644
--- a/protocols/JabberG/src/jabber_opt.cpp
+++ b/protocols/JabberG/src/jabber_opt.cpp
@@ -1614,7 +1614,7 @@ public:
}
protected:
- enum { ACC_PUBLIC, ACC_TLS, ACC_SSL, ACC_GTALK, ACC_LJTALK, ACC_FBOOK, ACC_OK, ACC_SMS };
+ enum { ACC_PUBLIC, ACC_TLS, ACC_SSL, ACC_GTALK, ACC_LJTALK, ACC_FBOOK, ACC_OKACC_OK, ACC_SMS };
void OnInitDialog()
{
@@ -1756,6 +1756,8 @@ protected:
switch (m_cbType.GetItemData(m_cbType.GetCurSel())) {
case ACC_OK:
m_proto->m_options.IgnoreRosterGroups = TRUE;
+ m_proto->m_options.UseSSL = FALSE;
+ m_proto->m_options.UseTLS = TRUE;
case ACC_PUBLIC:
m_proto->m_options.UseSSL = m_proto->m_options.UseTLS = FALSE;