pidgin: d43ee4f5: Turns out we need to exclude 'msn/' when..
sadrul at pidgin.im
sadrul at pidgin.im
Wed Jun 24 04:45:59 EDT 2009
-----------------------------------------------------------------
Revision: d43ee4f5f6097f7a107a1aa122e09d777de7c77d
Ancestor: afe30519d14b8a5dd49486c745784ca9294d095e
Author: sadrul at pidgin.im
Date: 2009-06-24T08:15:22
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/d43ee4f5f6097f7a107a1aa122e09d777de7c77d
Modified files:
libpurple/protocols/yahoo/yahoo.c
ChangeLog:
Turns out we need to exclude 'msn/' when authorizing a buddy.
-------------- next part --------------
============================================================
--- libpurple/protocols/yahoo/yahoo.c 4fc684e42c8aed006f8f3ee126f9474ac14c46e7
+++ libpurple/protocols/yahoo/yahoo.c e2b0aab601a15a7ca4c3c57b114d3d60fdfa9f66
@@ -1125,11 +1125,15 @@ yahoo_buddy_add_authorize_cb(gpointer da
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);
More information about the Commits
mailing list