diff options
author | George Hazan <george.hazan@gmail.com> | 2015-04-30 19:03:34 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2015-04-30 19:03:34 +0000 |
commit | 130a48e084a0add0097fa3dbe523677e00cac373 (patch) | |
tree | cb8e548c422334c24f5bc3fdf88d80901da1c3be /protocols/JabberG/src | |
parent | c2d108fafa96b9dbe03ad4bba6cf2a72afa2afde (diff) |
xmpp gate to facebook removed from XMPP predefined servers
git-svn-id: http://svn.miranda-ng.org/main/trunk@13306 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/JabberG/src')
-rw-r--r-- | protocols/JabberG/src/jabber_icolib.cpp | 1 | ||||
-rw-r--r-- | protocols/JabberG/src/jabber_opt.cpp | 28 |
2 files changed, 1 insertions, 28 deletions
diff --git a/protocols/JabberG/src/jabber_icolib.cpp b/protocols/JabberG/src/jabber_icolib.cpp index 855afa5eeb..a85f2fdaa7 100644 --- a/protocols/JabberG/src/jabber_icolib.cpp +++ b/protocols/JabberG/src/jabber_icolib.cpp @@ -73,7 +73,6 @@ static CTransportProtoTableItem TransportProtoTable[] = { _T("studivz*"), "StudiVZ" },
{ _T("schuelervz*"), "SchuelerVZ" },
{ _T("meinvz*"), "MeinVZ" },
- { _T("|fb*|facebook*"), "Facebook" },
};
static int skinIconStatusToResourceId[] = {IDI_OFFLINE,IDI_ONLINE,IDI_AWAY,IDI_DND,IDI_NA,IDI_NA,/*IDI_OCCUPIED,*/IDI_FREE4CHAT,IDI_INVISIBLE,IDI_ONTHEPHONE,IDI_OUTTOLUNCH};
diff --git a/protocols/JabberG/src/jabber_opt.cpp b/protocols/JabberG/src/jabber_opt.cpp index 0ceeb12340..bc964b58f1 100644 --- a/protocols/JabberG/src/jabber_opt.cpp +++ b/protocols/JabberG/src/jabber_opt.cpp @@ -1578,7 +1578,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_OK, ACC_SMS };
void OnInitDialog()
{
@@ -1618,7 +1618,6 @@ protected: m_cbType.AddString(TranslateT("Secure XMPP Network (old style)"), ACC_SSL);
m_cbType.AddString(TranslateT("Google Talk!"), ACC_GTALK);
m_cbType.AddString(TranslateT("LiveJournal Talk"), ACC_LJTALK);
- m_cbType.AddString(TranslateT("Facebook Chat"), ACC_FBOOK);
m_cbType.AddString(TranslateT("Odnoklassniki"), ACC_OK);
m_cbType.AddString(TranslateT("S.ms"), ACC_SMS);
@@ -1637,10 +1636,6 @@ protected: m_cbType.SetCurSel(ACC_LJTALK);
m_canregister = false;
}
- else if (!mir_strcmp(server, "chat.facebook.com")) {
- m_cbType.SetCurSel(ACC_FBOOK);
- m_canregister = false;
- }
else if (!mir_strcmp(server, "xmpp.odnoklassniki.ru")) {
m_cbType.SetCurSel(ACC_OK);
m_canregister = false;
@@ -1737,7 +1732,6 @@ protected: }
break;
- case ACC_FBOOK:
case ACC_OK:
m_proto->m_options.IgnoreRosterGroups = TRUE;
m_proto->m_options.UseSSL = FALSE;
@@ -1896,7 +1890,6 @@ private: void setupSecureSSL();
void setupGoogle();
void setupLJ();
- void setupFB();
void setupVK();
void setupOK();
void setupSMS();
@@ -1935,7 +1928,6 @@ void CJabberDlgAccMgrUI::setupConnection(int type) case ACC_SSL: setupSecureSSL(); break;
case ACC_GTALK: setupGoogle(); break;
case ACC_LJTALK: setupLJ(); break;
- case ACC_FBOOK: setupFB(); break;
case ACC_OK: setupOK(); break;
case ACC_SMS: setupSMS(); break;
}
@@ -2023,24 +2015,6 @@ void CJabberDlgAccMgrUI::setupLJ() m_btnRegister.Disable();
}
-void CJabberDlgAccMgrUI::setupFB()
-{
- m_canregister = false;
- m_gotservers = true;
- m_cbServer.ResetContent();
- m_cbServer.SetTextA("chat.facebook.com");
- m_cbServer.AddStringA("chat.facebook.com");
- m_chkManualHost.SetState(BST_UNCHECKED);
- m_txtManualHost.SetTextA("");
- m_txtPort.SetInt(443);
-
- m_cbServer.Disable();
- m_chkManualHost.Disable();
- m_txtManualHost.Disable();
- m_txtPort.Disable();
- m_btnRegister.Disable();
-}
-
void CJabberDlgAccMgrUI::setupOK()
{
m_canregister = false;
|