comparison libgaim/protocols/oscar/oscar.c @ 15135:31603a03cc02

[gaim-migrate @ 17921] Etan had changed the account notify stuff so that the prpl decides if the person is a buddy or not; I totally wiped that out with my authorization stuff. This brings it back. Additionally, I added a googletalk flag to JabberStream which can determine at runtime if you're connected to Google Talk. All of the Google Talk extensions can be detected individually with disco, but this might be used for working with perfectly standard XMPP that's implemented in what might be considered a quirky way in Google Talk. For instance, Google Talk automatically adds buddies to your roster when you authorize them to add you. I was going to use this flag so that the Jabber prpl would never ask me to add a Google Talk buddy who's just been automatically added anyway. I decided to keep it, though, since I may still want to specify what group he's in. This opens the door for more Google Talk customization though >:) committer: Tailor Script <tailor@pidgin.im>
author Sean Egan <seanegan@gmail.com>
date Fri, 08 Dec 2006 02:51:47 +0000
parents 96c145316f34
children 4b319b19aa24
comparison
equal deleted inserted replaced
15134:9e1d9c9229ce 15135:31603a03cc02
2329 data->gc = gc; 2329 data->gc = gc;
2330 data->name = sn; 2330 data->name = sn;
2331 data->nick = NULL; 2331 data->nick = NULL;
2332 2332
2333 gaim_account_request_authorization(account, sn, 2333 gaim_account_request_authorization(account, sn,
2334 NULL, NULL, reason, G_CALLBACK(gaim_auth_grant), 2334 NULL, NULL, reason, gaim_find_buddy(account, sn), G_CALLBACK(gaim_auth_grant),
2335 G_CALLBACK(gaim_auth_dontgrant_msgprompt), data); 2335 G_CALLBACK(gaim_auth_dontgrant_msgprompt), data);
2336 g_free(reason); 2336 g_free(reason);
2337 } 2337 }
2338 } break; 2338 } break;
2339 2339
5041 data->gc = gc; 5041 data->gc = gc;
5042 data->name = g_strdup(sn); 5042 data->name = g_strdup(sn);
5043 data->nick = NULL; 5043 data->nick = NULL;
5044 5044
5045 gaim_account_request_authorization(account, nombre, 5045 gaim_account_request_authorization(account, nombre,
5046 NULL, NULL, reason, G_CALLBACK(gaim_auth_grant), 5046 NULL, NULL, reason, buddy, G_CALLBACK(gaim_auth_grant),
5047 G_CALLBACK(gaim_auth_dontgrant_msgprompt), data); 5047 G_CALLBACK(gaim_auth_dontgrant_msgprompt), data);
5048 g_free(nombre); 5048 g_free(nombre);
5049 g_free(reason); 5049 g_free(reason);
5050 5050
5051 return 1; 5051 return 1;