# HG changeset patch # User Daniel Atallah # Date 1137981017 0 # Node ID a4ac07e7b07776fa3e2cbabd5eae3fa173eab503 # Parent 68db2c40efb2983f1b25b5f68d2ccb0a2c181c44 [gaim-migrate @ 15353] Bleeter figured out that his previous fix for double chat parts was faulty, so we should revert it for now committer: Tailor Script diff -r 68db2c40efb2 -r a4ac07e7b077 src/protocols/yahoo/yahoochat.c --- a/src/protocols/yahoo/yahoochat.c Mon Jan 23 01:47:56 2006 +0000 +++ b/src/protocols/yahoo/yahoochat.c Mon Jan 23 01:50:17 2006 +0000 @@ -745,15 +745,8 @@ struct yahoo_packet *pkt; GaimConversation *c; -#if 0 -/* Bleeter, 12th Jan 2006: - * After comparing to native YIM6, it would appear all we need to do is send the - * YAHOO_SERVICE_CHATLOGOUT, because the YAHOO_SERVICE_CHATEXIT is the response - * from the server. Leaving this in causes double room-left messages to be generated. - */ char *eroom; gboolean utf8 = 1; -#endif if (yd->wm) { g_return_if_fail(yd->ycht != NULL); @@ -762,14 +755,12 @@ return; } -#if 0 eroom = yahoo_string_encode(gc, room, &utf8); pkt = yahoo_packet_new(YAHOO_SERVICE_CHATEXIT, YAHOO_STATUS_AVAILABLE, 0); yahoo_packet_hash(pkt, "sss", 104, eroom, 109, dn, 108, "1"); yahoo_packet_hash_str(pkt, 112, "0"); /* what does this one mean? */ yahoo_packet_send_and_free(pkt, yd); -#endif yd->in_chat = 0; if (yd->chat_name) { @@ -789,9 +780,7 @@ yahoo_packet_send_and_free(pkt, yd); yd->chat_online = 0; -#if 0 g_free(eroom); -#endif } /* borrowed from gtkconv.c */