comparison src/conversation.c @ 6030:54c37db13279

[gaim-migrate @ 6480] How did I not commit the Send As menu fix? committer: Tailor Script <tailor@pidgin.im>
author Christian Hammond <chipx86@chipx86.com>
date Sat, 05 Jul 2003 08:00:53 +0000
parents 3b6f48766acb
children 0bbe26d96e11
comparison
equal deleted inserted replaced
6029:38999b6b1838 6030:54c37db13279
961 if (gc && prpl_info->convo_closed != NULL) 961 if (gc && prpl_info->convo_closed != NULL)
962 prpl_info->convo_closed(gc, (char *)name); 962 prpl_info->convo_closed(gc, (char *)name);
963 } 963 }
964 else if (gaim_conversation_get_type(conv) == GAIM_CONV_CHAT) { 964 else if (gaim_conversation_get_type(conv) == GAIM_CONV_CHAT) {
965 /* 965 /*
966 * This is unfortunately necessary, because calling serv_chat_leave() 966 * This is unfortunately necessary, because calling
967 * calls this gaim_conversation_destroy(), which leads to two calls 967 * serv_chat_leave() calls this gaim_conversation_destroy(),
968 * here.. We can't just return after this, because then it'll return 968 * which leads to two calls here.. We can't just return after
969 * on the next pass. So, since serv_got_chat_left(), which is 969 * this, because then it'll return on the next pass. So, since
970 * eventually called from the prpl that serv_chat_leave() calls, 970 * serv_got_chat_left(), which is eventually called from the
971 * removes this conversation from the gc's buddy_chats list, we're 971 * prpl that serv_chat_leave() calls, removes this conversation
972 * going to check to see if this exists in the list. If so, we want 972 * from the gc's buddy_chats list, we're going to check to see
973 * to return after calling this, because it'll be called again. If not, 973 * if this exists in the list. If so, we want to return after
974 * fall through, because it'll have already been removed, and we'd 974 * calling this, because it'll be called again. If not, fall
975 * through, because it'll have already been removed, and we'd
975 * be on the 2nd pass. 976 * be on the 2nd pass.
976 * 977 *
977 * Long paragraph. <-- Short sentence. 978 * Long paragraph. <-- Short sentence.
978 * 979 *
979 * -- ChipX86 980 * -- ChipX86