aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--goa-mc-plugin/mcp-account-manager-goa.c2
-rw-r--r--libempathy-gtk/empathy-protocol-chooser.c6
2 files changed, 8 insertions, 0 deletions
diff --git a/goa-mc-plugin/mcp-account-manager-goa.c b/goa-mc-plugin/mcp-account-manager-goa.c
index 280485dd6..af82e4727 100644
--- a/goa-mc-plugin/mcp-account-manager-goa.c
+++ b/goa-mc-plugin/mcp-account-manager-goa.c
@@ -137,6 +137,8 @@ get_tp_parameters (GoaAccount *account)
PARAM ("param-account", "chat.facebook.com");
PARAM ("param-server", "chat.facebook.com");
PARAM ("param-require-encryption", "true");
+ PARAM ("param-fallback-servers",
+ "chat.facebook.com:443");
}
else if (!tp_strdiff (type, "windows_live"))
{
diff --git a/libempathy-gtk/empathy-protocol-chooser.c b/libempathy-gtk/empathy-protocol-chooser.c
index 7adacf472..5e26112ed 100644
--- a/libempathy-gtk/empathy-protocol-chooser.c
+++ b/libempathy-gtk/empathy-protocol-chooser.c
@@ -620,12 +620,18 @@ empathy_protocol_chooser_create_account_settings (EmpathyProtocolChooser *self)
}
else if (!tp_strdiff (service, "facebook"))
{
+ gchar *fallback_servers[] = {
+ "chat.facebook.com:443",
+ NULL };
+
empathy_account_settings_set_icon_name_async (settings, "im-facebook",
NULL, NULL);
empathy_account_settings_set_boolean (settings, "require-encryption",
TRUE);
empathy_account_settings_set_string (settings, "server",
"chat.facebook.com");
+ empathy_account_settings_set_strv (settings, "fallback-servers",
+ fallback_servers);
}
out: