]> git.0d.be Git - empathy.git/commitdiff
empathy-dispatcher: use new API of EmpathyChatRoom
authorXavier Claessens <xclaesse@src.gnome.org>
Mon, 13 Oct 2008 07:53:15 +0000 (07:53 +0000)
committerXavier Claessens <xclaesse@src.gnome.org>
Mon, 13 Oct 2008 07:53:15 +0000 (07:53 +0000)
svn path=/trunk/; revision=1536

libempathy/empathy-dispatcher.c

index 6d1f2a43ef74fdec151708cd2068fd28c8941788..c59e613c60577266daf79aacd4a9a33c7404cff1 100644 (file)
@@ -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