changeset 13000:a4ac07e7b077

[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 <tailor@pidgin.im>
author Daniel Atallah <daniel.atallah@gmail.com>
date Mon, 23 Jan 2006 01:50:17 +0000
parents 68db2c40efb2
children 4bbd39576c52
files src/protocols/yahoo/yahoochat.c
diffstat 1 files changed, 0 insertions(+), 11 deletions(-) [+]
line wrap: on
line diff
--- 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 */