aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy
diff options
context:
space:
mode:
Diffstat (limited to 'libempathy')
-rw-r--r--libempathy/empathy-dispatcher.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libempathy/empathy-dispatcher.c b/libempathy/empathy-dispatcher.c
index 6d1f2a43e..c59e613c6 100644
--- a/libempathy/empathy-dispatcher.c
+++ b/libempathy/empathy-dispatcher.c
@@ -471,7 +471,8 @@ dispatcher_connection_new_channel_cb (TpConnection *connection,
chatroom = empathy_chatroom_manager_find (mgr, account, room_ids[0]);
if (chatroom == NULL)
{
- chatroom = empathy_chatroom_new (account, room_ids[0]);
+ chatroom = empathy_chatroom_new (account);
+ empathy_chatroom_set_name (chatroom, room_ids[0]);
empathy_chatroom_manager_add (mgr, chatroom);
}
else