]> git.0d.be Git - empathy.git/commitdiff
Create GTalk accounts with extra-certificate-identities = 'talk.google.com'
authorStef Walter <stefw@collabora.co.uk>
Fri, 18 Mar 2011 13:38:10 +0000 (14:38 +0100)
committerStef Walter <stefw@collabora.co.uk>
Tue, 22 Mar 2011 14:27:23 +0000 (15:27 +0100)
When creating google talk accounts, allow 'talk.google.com' as an extra
identity for server certificate validation.

https://bugzilla.gnome.org/show_bug.cgi?id=645133

libempathy-gtk/empathy-protocol-chooser.c

index 6e6b8bb79bea496fb7a6cead0737a409ff3d3f0e..9bbab1c8ed3fc3327594905810932147040b6b0a 100644 (file)
@@ -594,11 +594,18 @@ empathy_protocol_chooser_create_account_settings (EmpathyProtocolChooser *self)
           "talkx.l.google.com:80",
           NULL};
 
+      gchar *extra_certificate_identities[] = {
+          "talk.google.com",
+          NULL};
+
       empathy_account_settings_set_icon_name_async (settings, "im-google-talk",
           NULL, NULL);
 
       empathy_account_settings_set_strv (settings, "fallback-servers",
           fallback_servers);
+
+      empathy_account_settings_set_strv (settings,
+          "extra-certificate-identities", extra_certificate_identities);
     }
   else if (!tp_strdiff (service, "facebook"))
     {