Mercurial > pidgin
diff libpurple/protocols/jabber/presence.c @ 18734:bf8b69cba9ae
disapproval of revision 'c2cc31f23a71f23062555721f8101fc9c997bae2'
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Sun, 29 Jul 2007 21:29:04 +0000 |
parents | c65c4caa817a |
children | f29794be0163 |
line wrap: on
line diff
--- 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);