| 72 pa->who = g_strdup(passport); |
72 pa->who = g_strdup(passport); |
| 73 pa->friendly = g_strdup(friendly); |
73 pa->friendly = g_strdup(friendly); |
| 74 pa->gc = gc; |
74 pa->gc = gc; |
| 75 |
75 |
| 76 gaim_account_request_authorization(gaim_connection_get_account(gc), passport, NULL, friendly, NULL, |
76 gaim_account_request_authorization(gaim_connection_get_account(gc), passport, NULL, friendly, NULL, |
| 77 gaim_find_buddy(gaim_connection_get_account(gc), passport), |
77 gaim_find_buddy(gaim_connection_get_account(gc), passport) != NULL, |
| 78 G_CALLBACK(msn_accept_add_cb), G_CALLBACK(msn_cancel_add_cb), pa); |
78 G_CALLBACK(msn_accept_add_cb), G_CALLBACK(msn_cancel_add_cb), pa); |
| 79 } |
79 } |
| 80 |
80 |
| 81 /************************************************************************** |
81 /************************************************************************** |
| 82 * Utility functions |
82 * Utility functions |