aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2010-05-25 17:23:08 +0800
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2010-05-25 17:23:08 +0800
commitb8bd45099ed48decb876233cab1f2df217abc323 (patch)
treed22e0b373148fb087d92f580153486f89b0f6fb3 /src
parentdc191ab0d987dd5478365e5d19da7dad55d11002 (diff)
downloadgsoc2013-empathy-b8bd45099ed48decb876233cab1f2df217abc323.tar
gsoc2013-empathy-b8bd45099ed48decb876233cab1f2df217abc323.tar.gz
gsoc2013-empathy-b8bd45099ed48decb876233cab1f2df217abc323.tar.bz2
gsoc2013-empathy-b8bd45099ed48decb876233cab1f2df217abc323.tar.lz
gsoc2013-empathy-b8bd45099ed48decb876233cab1f2df217abc323.tar.xz
gsoc2013-empathy-b8bd45099ed48decb876233cab1f2df217abc323.tar.zst
gsoc2013-empathy-b8bd45099ed48decb876233cab1f2df217abc323.zip
hardcode facebook server to workaround SRV lookup issues
Diffstat (limited to 'src')
-rw-r--r--src/empathy-account-assistant.c3
-rw-r--r--src/empathy-accounts-dialog.c3
2 files changed, 6 insertions, 0 deletions
diff --git a/src/empathy-account-assistant.c b/src/empathy-account-assistant.c
index 796f56527..a8a77e322 100644
--- a/src/empathy-account-assistant.c
+++ b/src/empathy-account-assistant.c
@@ -428,6 +428,9 @@ account_assistant_protocol_changed_cb (GtkComboBox *chooser,
{
empathy_account_settings_set_icon_name_async (settings, "im-facebook",
NULL, NULL);
+
+ empathy_account_settings_set_string (settings, "server",
+ "chat.facebook.com");
}
if (priv->first_resp == RESPONSE_CREATE_ACCOUNT)
diff --git a/src/empathy-accounts-dialog.c b/src/empathy-accounts-dialog.c
index 3d8aed9fd..649df9d61 100644
--- a/src/empathy-accounts-dialog.c
+++ b/src/empathy-accounts-dialog.c
@@ -594,6 +594,9 @@ accounts_dialog_setup_ui_to_add_account (EmpathyAccountsDialog *dialog)
{
empathy_account_settings_set_icon_name_async (settings, "im-facebook",
NULL, NULL);
+
+ empathy_account_settings_set_string (settings, "server",
+ "chat.facebook.com");
}
accounts_dialog_add (dialog, settings);