aboutsummaryrefslogtreecommitdiffstats
path: root/src/empathy-chatrooms-window.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/empathy-chatrooms-window.c')
-rw-r--r--src/empathy-chatrooms-window.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/empathy-chatrooms-window.c b/src/empathy-chatrooms-window.c
index 3b5dd1f77..4ec71ec49 100644
--- a/src/empathy-chatrooms-window.c
+++ b/src/empathy-chatrooms-window.c
@@ -514,7 +514,7 @@ chatrooms_window_chatroom_added_cb (EmpathyChatroomManager *manager,
if (!account) {
chatrooms_window_model_add (window, chatroom, FALSE);
} else {
- if (empathy_account_equal (account, empathy_chatroom_get_account (chatroom))) {
+ if (account == empathy_chatroom_get_account (chatroom)) {
chatrooms_window_model_add (window, chatroom, FALSE);
}