[gnome-shell/gnome-3-6] Telepathy: Set empathy-chat as prefered handler when delegating channels



commit 837ea2d5894a207671d3269bad4f89c6d5106694
Author: Xavier Claessens <xavier claessens collabora co uk>
Date:   Wed Oct 17 15:36:25 2012 +0200

    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 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/js/ui/components/telepathyClient.js b/js/ui/components/telepathyClient.js
index 4231706..11ca193 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



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