From 52eb24e6e7b012856525f6f09d3c1a941375d383 Mon Sep 17 00:00:00 2001 From: Guillaume Desmottes Date: Mon, 7 Mar 2011 15:22:29 +0100 Subject: 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). --- libempathy/empathy-tp-chat.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'libempathy/empathy-tp-chat.c') 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); -- cgit v1.2.3