aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorXavier Claessens <xclaesse@src.gnome.org>2008-10-13 15:53:15 +0800
committerXavier Claessens <xclaesse@src.gnome.org>2008-10-13 15:53:15 +0800
commit4e64cf50143c1709a09f8302466a3566d70a2008 (patch)
treed462dfee350ba8aa8ef6088ff0e33cc49dc81435
parent627bef93db1b66f93f90ba0f629e153494be26e9 (diff)
downloadgsoc2013-empathy-4e64cf50143c1709a09f8302466a3566d70a2008.tar
gsoc2013-empathy-4e64cf50143c1709a09f8302466a3566d70a2008.tar.gz
gsoc2013-empathy-4e64cf50143c1709a09f8302466a3566d70a2008.tar.bz2
gsoc2013-empathy-4e64cf50143c1709a09f8302466a3566d70a2008.tar.lz
gsoc2013-empathy-4e64cf50143c1709a09f8302466a3566d70a2008.tar.xz
gsoc2013-empathy-4e64cf50143c1709a09f8302466a3566d70a2008.tar.zst
gsoc2013-empathy-4e64cf50143c1709a09f8302466a3566d70a2008.zip
empathy-dispatcher: use new API of EmpathyChatRoom
svn path=/trunk/; revision=1536
-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