[empathy] hardcode facebook server to workaround SRV lookup issues
- From: Guillaume Desmottes <gdesmott src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [empathy] hardcode facebook server to workaround SRV lookup issues
- Date: Tue, 25 May 2010 09:25:12 +0000 (UTC)
commit b8bd45099ed48decb876233cab1f2df217abc323
Author: Guillaume Desmottes <guillaume desmottes collabora co uk>
Date: Tue May 25 11:23:08 2010 +0200
hardcode facebook server to workaround SRV lookup issues
src/empathy-account-assistant.c | 3 +++
src/empathy-accounts-dialog.c | 3 +++
2 files changed, 6 insertions(+), 0 deletions(-)
---
diff --git a/src/empathy-account-assistant.c b/src/empathy-account-assistant.c
index 796f565..a8a77e3 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 3d8aed9..649df9d 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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]