diff options
author | Will Thompson <will.thompson@collabora.co.uk> | 2011-06-27 17:03:50 +0100 |
---|---|---|
committer | Will Thompson <will.thompson@collabora.co.uk> | 2011-06-28 09:16:57 +0100 |
commit | b1c88e335291d4c29ca385b9bb1dedbc921b797c (patch) | |
tree | d518abf27847673199ed318cea4807ece81b6599 | |
parent | 98d8ab1991d23766fc965a1f6ab9d97e415cfdb9 (diff) | |
download | empathy-b1c88e335291d4c29ca385b9bb1dedbc921b797c.tar.gz |
Set 'server' parameter on GTalk accounts.
This stops us depending on properly-configured SRV records.
'fallback-servers' is not good enough in this situation:
• foo.com's XMPP stuff is served by Google Apps;
• your router breaks SRV requests;
• foo.com resolves to 1.2.3.4 which has a (different) XMPP server
listening on port 5222.
This may seem far-fetched, but this happened to two completely different
people, both hosted with Dreamhost.
https://bugzilla.gnome.org/show_bug.cgi?id=653510
-rw-r--r-- | libempathy-gtk/empathy-protocol-chooser.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libempathy-gtk/empathy-protocol-chooser.c b/libempathy-gtk/empathy-protocol-chooser.c index b2e4314de..6a97de64c 100644 --- a/libempathy-gtk/empathy-protocol-chooser.c +++ b/libempathy-gtk/empathy-protocol-chooser.c @@ -600,7 +600,8 @@ empathy_protocol_chooser_create_account_settings (EmpathyProtocolChooser *self) empathy_account_settings_set_icon_name_async (settings, "im-google-talk", NULL, NULL); - + empathy_account_settings_set_string (settings, "server", + extra_certificate_identities[0]); empathy_account_settings_set_strv (settings, "fallback-servers", fallback_servers); |