Mercurial > pidgin.yaz
changeset 27249:e3150217e1b4
Turns out we need to exclude 'msn/' when authorizing a buddy.
author | Sadrul Habib Chowdhury <imadil@gmail.com> |
---|---|
date | Wed, 24 Jun 2009 08:15:22 +0000 |
parents | 76dda72a443b |
children | 463ed40d4031 |
files | libpurple/protocols/yahoo/yahoo.c |
diffstat | 1 files changed, 5 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/libpurple/protocols/yahoo/yahoo.c Wed Jun 24 08:10:30 2009 +0000 +++ b/libpurple/protocols/yahoo/yahoo.c Wed Jun 24 08:15:22 2009 +0000 @@ -1125,11 +1125,15 @@ struct yahoo_add_request *add_req = data; struct yahoo_packet *pkt; struct yahoo_data *yd = add_req->gc->proto_data; + const char *who = add_req->who; + + if (add_req->protocol == 2) + who += 4; pkt = yahoo_packet_new(YAHOO_SERVICE_AUTH_REQ_15, YAHOO_STATUS_AVAILABLE, 0); yahoo_packet_hash(pkt, "ssiii", 1, add_req->id, - 5, add_req->who, + 5, who, 241, add_req->protocol, 13, 1, 334, 0);