Mercurial > pidgin
diff libpurple/protocols/oscar/family_icq.c @ 30357:674a656893a3
Show authorization request sender's nickname in the "Authorize buddy?"
dialog.
Fixes #3207. I've slightly modified the original patch (courtesy of Collin):
* the code emitting the "buddy-status-changed" signal was removed,
because it doesn't appear to be necessary;
* "info->uin && info->nick" check in purple_icqalias() was removed,
since icqresponse() in family_icq.c already does that.
author | ivan.komarov@soc.pidgin.im |
---|---|
date | Sun, 23 May 2010 18:28:46 +0000 |
parents | c2155cf648f9 |
children | 8d5b0cbec844 |
line wrap: on
line diff
--- a/libpurple/protocols/oscar/family_icq.c Sun May 23 17:22:51 2010 +0000 +++ b/libpurple/protocols/oscar/family_icq.c Sun May 23 18:28:46 2010 +0000 @@ -232,7 +232,7 @@ return 0; } -int aim_icq_getalias(OscarData *od, const char *uin) +int aim_icq_getalias(OscarData *od, const char *uin, gboolean for_auth_request, char *auth_request_reason) { FlapConnection *conn; ByteStream bs; @@ -274,6 +274,8 @@ info->reqid = snacid; info->uin = atoi(uin); info->next = od->icq_info; + info->for_auth_request = for_auth_request; + info->auth_request_reason = g_strdup(auth_request_reason); od->icq_info = info; return 0;