From e6d6047924c7f6b70d51398a617ada03ac1850de Mon Sep 17 00:00:00 2001 From: Wilmer van der Gaast Date: Mon, 3 Apr 2006 22:21:35 +0200 Subject: Added/Fixed calls to show_got_added() in all IM-modules, now to fill in that call. (It should ask the user if he/she wants to add a buddy to his/her list.) --- protocols/oscar/oscar.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'protocols/oscar/oscar.c') diff --git a/protocols/oscar/oscar.c b/protocols/oscar/oscar.c index 97384afb..3342fa42 100644 --- a/protocols/oscar/oscar.c +++ b/protocols/oscar/oscar.c @@ -1118,7 +1118,8 @@ static void gaim_icq_authgrant(gpointer w, struct icq_auth *data) { message = 0; aim_ssi_auth_reply(od->sess, od->conn, uin, 1, ""); // aim_send_im_ch4(od->sess, uin, AIM_ICQMSG_AUTHGRANTED, &message); - show_got_added(data->gc, NULL, uin, NULL, NULL); + if(find_buddy(data->gc, uin) == NULL) + show_got_added(data->gc, uin, NULL); g_free(uin); g_free(data); -- cgit v1.2.3