diff options
-rw-r--r-- | libempathy/empathy-chatroom-manager.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libempathy/empathy-chatroom-manager.c b/libempathy/empathy-chatroom-manager.c index 96dd8dd4c..3c2eb66bb 100644 --- a/libempathy/empathy-chatroom-manager.c +++ b/libempathy/empathy-chatroom-manager.c @@ -351,7 +351,8 @@ empathy_chatroom_manager_remove (EmpathyChatroomManager *manager, this_chatroom = l->data; - if (empathy_chatroom_equal (chatroom, this_chatroom)) { + if (this_chatroom == chatroom || + empathy_chatroom_equal (chatroom, this_chatroom)) { gboolean favorite; priv->chatrooms = g_list_delete_link (priv->chatrooms, l); |