From 4e64cf50143c1709a09f8302466a3566d70a2008 Mon Sep 17 00:00:00 2001 From: Xavier Claessens Date: Mon, 13 Oct 2008 07:53:15 +0000 Subject: empathy-dispatcher: use new API of EmpathyChatRoom svn path=/trunk/; revision=1536 --- libempathy/empathy-dispatcher.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'libempathy') 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 -- cgit v1.2.3