[empathy: 4/7] Set 'server' parameter on GTalk accounts.
- From: Will Thompson <wjt src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [empathy: 4/7] Set 'server' parameter on GTalk accounts.
- Date: Tue, 28 Jun 2011 08:13:58 +0000 (UTC)
commit 60d6f85f560b4c958085c8f759f519363a05e779
Author: Will Thompson <will thompson collabora co uk>
Date: Mon Jun 27 17:03:50 2011 +0100
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
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 b2e4314..6a97de6 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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]