From 837ea2d5894a207671d3269bad4f89c6d5106694 Mon Sep 17 00:00:00 2001 From: Xavier Claessens Date: Wed, 17 Oct 2012 15:36:25 +0200 Subject: [PATCH] Telepathy: Set empathy-chat as prefered handler when delegating channels https://bugzilla.gnome.org/show_bug.cgi?id=686296 --- js/ui/components/telepathyClient.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/js/ui/components/telepathyClient.js b/js/ui/components/telepathyClient.js index 42317065e..11ca19351 100644 --- a/js/ui/components/telepathyClient.js +++ b/js/ui/components/telepathyClient.js @@ -564,7 +564,9 @@ const ChatSource = new Lang.Class({ open: function(notification) { if (this._client.is_handling_channel(this._channel)) { // We are handling the channel, try to pass it to Empathy - this._client.delegate_channels_async([this._channel], global.get_current_time(), '', null); + this._client.delegate_channels_async([this._channel], + global.get_current_time(), + 'org.freedesktop.Telepathy.Client.Empathy.Chat', null); } else { // We are not the handler, just ask to present the channel