Mercurial > pidgin
diff src/protocols/yahoo/yahoo.c @ 12841:ab37a4cc477e
[gaim-migrate @ 15189]
Bleeter says this does something good, along the lines of leaving a chat when you quit.
committer: Tailor Script <tailor@pidgin.im>
author | Richard Laager <rlaager@wiktel.com> |
---|---|
date | Thu, 12 Jan 2006 01:54:59 +0000 |
parents | 09d4ea834370 |
children | ba82ecb2d6f5 |
line wrap: on
line diff
--- a/src/protocols/yahoo/yahoo.c Thu Jan 12 01:50:44 2006 +0000 +++ b/src/protocols/yahoo/yahoo.c Thu Jan 12 01:54:59 2006 +0000 @@ -2567,6 +2567,10 @@ } g_slist_free(yd->confs); + yd->chat_online = 0; + if (yd->in_chat) + yahoo_c_leave(gc, 1); /* 1 = YAHOO_CHAT_ID */ + g_hash_table_destroy(yd->friends); if (yd->chat_name) g_free(yd->chat_name);