modify nullcient to use google talk

Ka-Hing Cheung khc at hxbc.us
Tue Mar 24 04:06:18 EDT 2009


On Tue, 2009-03-24 at 15:45 +0800, enst wrote:
> I modified nullclient.c. I want to use google talk account with nullclient.
> 
> if(!strcmp(prpl, "prpl-jabber")){
> fprintf(stderr, "gtalk\n");
> purple_account_set_bool(account, "require_tls", TRUE);
> purple_account_set_bool(account, "auth_plain_in_clear", FALSE);
> purple_account_set_bool(account, "old-ssl", FALSE);
> purple_account_set_bool(account, "check-mail", FALSE);
> purple_account_set_int(account, "port", 5222);
> purple_account_set_bool(account, "auth_gssapi", TRUE);
> purple_account_set_string(account, "server", "gmail.com");
> purple_account_set_string(account, "connect_server", "talk.google.com");

> (15:33:32) certificate/x509/tls_cached: Name mismatch: Certificate given
> for talk.google.com has a name of gmail.com

Don't set the connect server will allow this to go through.

-khc





More information about the Devel mailing list