empathy r1536 - trunk/libempathy



Author: xclaesse
Date: Mon Oct 13 07:53:15 2008
New Revision: 1536
URL: http://svn.gnome.org/viewvc/empathy?rev=1536&view=rev

Log:
empathy-dispatcher: use new API of EmpathyChatRoom

Modified:
   trunk/libempathy/empathy-dispatcher.c

Modified: trunk/libempathy/empathy-dispatcher.c
==============================================================================
--- trunk/libempathy/empathy-dispatcher.c	(original)
+++ trunk/libempathy/empathy-dispatcher.c	Mon Oct 13 07:53:15 2008
@@ -471,7 +471,8 @@
       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



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]