Mercurial > pidgin.yaz
diff libpurple/conversation.c @ 22645:f75509f776cc
When you try to execute a command (e.g., /part etc.) in a chat on a
disconnected account, the command fails. But there's no notification of the
failure. Fix this by making sure the error message gets written in the conv.
author | Sadrul Habib Chowdhury <imadil@gmail.com> |
---|---|
date | Sun, 13 Apr 2008 17:12:05 +0000 |
parents | 6fc8f0c825e0 |
children | 17cda378a2dd 030185a59a1a |
line wrap: on
line diff
--- a/libpurple/conversation.c Sun Apr 13 16:54:33 2008 +0000 +++ b/libpurple/conversation.c Sun Apr 13 17:12:05 2008 +0000 @@ -862,7 +862,7 @@ gc = purple_account_get_connection(account); if (purple_conversation_get_type(conv) == PURPLE_CONV_TYPE_CHAT && - (gc == NULL || !g_slist_find(gc->buddy_chats, conv))) + (gc != NULL && !g_slist_find(gc->buddy_chats, conv))) return; if (purple_conversation_get_type(conv) == PURPLE_CONV_TYPE_IM &&