diff -r 2036a94093c5 -r 8d3322014cb8 libpurple/protocols/jabber/presence.c --- a/libpurple/protocols/jabber/presence.c Sun Jul 29 07:01:13 2007 +0000 +++ b/libpurple/protocols/jabber/presence.c Sun Jul 29 21:29:04 2007 +0000 @@ -413,8 +413,7 @@ if(chat->conv) { title = g_strdup_printf(_("Error in chat %s"), from); - if (g_hash_table_size(chat->members) == 0) - serv_got_chat_left(js->gc, chat->id); + serv_got_chat_left(js->gc, chat->id); } else { title = g_strdup_printf(_("Error joining chat %s"), from); } @@ -422,9 +421,7 @@ g_free(title); g_free(msg); - if (g_hash_table_size(chat->members) == 0) - /* Only destroy the chat if the error happened while joining */ - jabber_chat_destroy(chat); + jabber_chat_destroy(chat); jabber_id_free(jid); g_free(status); g_free(room_jid);