commit d49322b288344299629145c2882c1db929494427
Author: Stef Walter <stefw@collabora.co.uk>
Date:   Fri Mar 18 14:38:10 2011 +0100

    Create Google Talk accounst with extra-identities = 'talk.google.com'
    
    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

diff --git a/libempathy-gtk/empathy-protocol-chooser.c b/libempathy-gtk/empathy-protocol-chooser.c
index 6e6b8bb..34a328b 100644
--- a/libempathy-gtk/empathy-protocol-chooser.c
+++ b/libempathy-gtk/empathy-protocol-chooser.c
@@ -594,11 +594,18 @@ empathy_protocol_chooser_create_account_settings (EmpathyProtocolChooser *self)
           "talkx.l.google.com:80",
           NULL};
 
+      gchar *extra_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-identities",
+          extra_identities);
     }
   else if (!tp_strdiff (service, "facebook"))
     {
