summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--protocols/JabberG/src/jabber_icolib.cpp1
-rw-r--r--protocols/JabberG/src/jabber_opt.cpp28
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;