diff options
author | Wilmer van der Gaast <wilmer@gaast.net> | 2006-04-03 22:21:35 +0200 |
---|---|---|
committer | Wilmer van der Gaast <wilmer@gaast.net> | 2006-04-03 22:21:35 +0200 |
commit | e6d6047924c7f6b70d51398a617ada03ac1850de (patch) | |
tree | 1945870856e8420c9184af2cfd28e8b0e45b1c64 /protocols/oscar | |
parent | 57ef86480b13cec08cec29f8352b168d9a16f4e4 (diff) |
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.)
Diffstat (limited to 'protocols/oscar')
-rw-r--r-- | protocols/oscar/oscar.c | 3 | ||||
-rw-r--r-- | protocols/oscar/service.c | 2 |
2 files changed, 3 insertions, 2 deletions
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); diff --git a/protocols/oscar/service.c b/protocols/oscar/service.c index 573e1983..4519ce14 100644 --- a/protocols/oscar/service.c +++ b/protocols/oscar/service.c @@ -732,7 +732,7 @@ int aim_setextstatus(aim_session_t *sess, aim_conn_t *conn, guint32 status) guint32 data; int tlvlen; - data = AIM_ICQ_STATE_WEBAWARE | AIM_ICQ_STATE_HIDEIP | status; /* yay for error checking ;^) */ + data = AIM_ICQ_STATE_HIDEIP | status; /* yay for error checking ;^) */ tlvlen = aim_addtlvtochain32(&tl, 0x0006, data); |