aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy/empathy-tp-chat.c
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2011-03-07 22:22:29 +0800
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2011-03-17 16:53:49 +0800
commit52eb24e6e7b012856525f6f09d3c1a941375d383 (patch)
tree08167041abd448ceb4ef7fc5e841e64305e22101 /libempathy/empathy-tp-chat.c
parent04edfb3dbbdf9a2a4ac6cf2ecafcbd88044ee094 (diff)
downloadgsoc2013-empathy-52eb24e6e7b012856525f6f09d3c1a941375d383.tar
gsoc2013-empathy-52eb24e6e7b012856525f6f09d3c1a941375d383.tar.gz
gsoc2013-empathy-52eb24e6e7b012856525f6f09d3c1a941375d383.tar.bz2
gsoc2013-empathy-52eb24e6e7b012856525f6f09d3c1a941375d383.tar.lz
gsoc2013-empathy-52eb24e6e7b012856525f6f09d3c1a941375d383.tar.xz
gsoc2013-empathy-52eb24e6e7b012856525f6f09d3c1a941375d383.tar.zst
gsoc2013-empathy-52eb24e6e7b012856525f6f09d3c1a941375d383.zip
pass a preferred handler when requesting channels
We want to use Empathy components when possible instead of, say, KDE ones if both are installed (#643863).
Diffstat (limited to 'libempathy/empathy-tp-chat.c')
-rw-r--r--libempathy/empathy-tp-chat.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/libempathy/empathy-tp-chat.c b/libempathy/empathy-tp-chat.c
index a9077994c..86aca446b 100644
--- a/libempathy/empathy-tp-chat.c
+++ b/libempathy/empathy-tp-chat.c
@@ -31,6 +31,7 @@
#include "empathy-tp-contact-factory.h"
#include "empathy-contact-list.h"
#include "empathy-marshal.h"
+#include "empathy-request-util.h"
#include "empathy-time.h"
#include "empathy-utils.h"
@@ -170,8 +171,8 @@ tp_chat_add (EmpathyContactList *list,
/* Although this is a MUC, it's anonymous, so CreateChannel is
* valid. */
- tp_account_channel_request_create_channel_async (req, NULL, NULL,
- create_conference_cb, NULL);
+ tp_account_channel_request_create_channel_async (req, EMPATHY_CHAT_BUS_NAME,
+ NULL, create_conference_cb, NULL);
g_object_unref (req);
g_hash_table_unref (props);