Mercurial > pidgin
diff src/protocols/yahoo/yahoochat.c @ 9782:68368058ee03
[gaim-migrate @ 10650]
This was harder than I thought. Adding the debug line seemed to make it
start working. Hmm.
This just sends the leave packet for all conferences you're in when you
sign off on Yahoo!. Otherwise we think you're still in the conference.
And apparently so does Yahoo!.
committer: Tailor Script <tailor@pidgin.im>
author | Tim Ringenbach <marv@pidgin.im> |
---|---|
date | Thu, 19 Aug 2004 05:38:57 +0000 |
parents | 06e730382bbe |
children | c28d5b45624e |
line wrap: on
line diff
--- a/src/protocols/yahoo/yahoochat.c Thu Aug 19 04:18:35 2004 +0000 +++ b/src/protocols/yahoo/yahoochat.c Thu Aug 19 05:38:57 2004 +0000 @@ -586,12 +586,13 @@ * I think conference names are always ascii. */ -static void yahoo_conf_leave(struct yahoo_data *yd, const char *room, const char *dn, GList *who) +void yahoo_conf_leave(struct yahoo_data *yd, const char *room, const char *dn, GList *who) { struct yahoo_packet *pkt; GList *w; - + gaim_debug_misc("yahoo", "leaving conference %s\n", room); + pkt = yahoo_packet_new(YAHOO_SERVICE_CONFLOGOFF, YAHOO_STATUS_AVAILABLE, 0); yahoo_packet_hash(pkt, 1, dn);