diff options
Diffstat (limited to 'libempathy/gossip-chatroom-manager.c')
-rw-r--r-- | libempathy/gossip-chatroom-manager.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libempathy/gossip-chatroom-manager.c b/libempathy/gossip-chatroom-manager.c index 45b787df5..f85d5407e 100644 --- a/libempathy/gossip-chatroom-manager.c +++ b/libempathy/gossip-chatroom-manager.c @@ -229,7 +229,8 @@ gossip_chatroom_manager_find (GossipChatroomManager *manager, this_account = gossip_chatroom_get_account (chatroom); this_room = gossip_chatroom_get_room (chatroom); - if (gossip_account_equal (account, this_account) && + if (this_account && this_room && + gossip_account_equal (account, this_account) && strcmp (this_room, room) == 0) { return chatroom; } |