Mercurial > pidgin.yaz
diff src/protocols/yahoo/yahoo_picture.c @ 9329:d42f3e4fd7ad
[gaim-migrate @ 10137]
We were ignoring an extra packet the server is sending now on joining
a room, which has extra members in it. This makes us process it. We
do so one at a time though, so it prints a has joined message for them,
which sucks but oh well.
This also fixes a "bug" where we were getting confused and thinking
keys were values and values were keys. But the reason we were getting
confused is pretty weird. I think the server was intentionally trying
to confuse us this way, to hide extra data from older clients.
committer: Tailor Script <tailor@pidgin.im>
author | Tim Ringenbach <marv@pidgin.im> |
---|---|
date | Sun, 20 Jun 2004 19:18:42 +0000 |
parents | f40233043b5a |
children | ba78e5a34bed |
line wrap: on
line diff
--- a/src/protocols/yahoo/yahoo_picture.c Sun Jun 20 14:46:24 2004 +0000 +++ b/src/protocols/yahoo/yahoo_picture.c Sun Jun 20 19:18:42 2004 +0000 @@ -232,8 +232,10 @@ struct yahoo_packet *pkt; char *buf; - if (!yd->picture_url) + if (!yd->picture_url) { + gaim_debug_warning("yahoo", "Attempted to send picture info without a picture\n"); return; + } pkt = yahoo_packet_new(YAHOO_SERVICE_PICTURE, YAHOO_STATUS_AVAILABLE, 0); yahoo_packet_hash(pkt, 1, gaim_connection_get_display_name(gc));