Mercurial > pidgin
comparison 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 |
comparison
equal
deleted
inserted
replaced
12840:12b23eaa4911 | 12841:ab37a4cc477e |
---|---|
2564 yahoo_conf_leave(yd, gaim_conversation_get_name(conv), | 2564 yahoo_conf_leave(yd, gaim_conversation_get_name(conv), |
2565 gaim_connection_get_display_name(gc), | 2565 gaim_connection_get_display_name(gc), |
2566 gaim_conv_chat_get_users(GAIM_CONV_CHAT(conv))); | 2566 gaim_conv_chat_get_users(GAIM_CONV_CHAT(conv))); |
2567 } | 2567 } |
2568 g_slist_free(yd->confs); | 2568 g_slist_free(yd->confs); |
2569 | |
2570 yd->chat_online = 0; | |
2571 if (yd->in_chat) | |
2572 yahoo_c_leave(gc, 1); /* 1 = YAHOO_CHAT_ID */ | |
2569 | 2573 |
2570 g_hash_table_destroy(yd->friends); | 2574 g_hash_table_destroy(yd->friends); |
2571 if (yd->chat_name) | 2575 if (yd->chat_name) |
2572 g_free(yd->chat_name); | 2576 g_free(yd->chat_name); |
2573 | 2577 |