aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy-gtk/empathy-protocol-chooser.c
diff options
context:
space:
mode:
Diffstat (limited to 'libempathy-gtk/empathy-protocol-chooser.c')
-rw-r--r--libempathy-gtk/empathy-protocol-chooser.c6
1 files changed, 6 insertions, 0 deletions
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: