Telepathy: Set empathy-chat as prefered handler when delegating channels

https://bugzilla.gnome.org/show_bug.cgi?id=686296
This commit is contained in:
Xavier Claessens 2012-10-17 15:36:25 +02:00
parent 6e1a8f16a8
commit 14966b0cd0

View File

@ -555,7 +555,9 @@ const ChatSource = new Lang.Class({
open: function(notification) { open: function(notification) {
if (this._client.is_handling_channel(this._channel)) { if (this._client.is_handling_channel(this._channel)) {
// We are handling the channel, try to pass it to Empathy // 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 { else {
// We are not the handler, just ask to present the channel // We are not the handler, just ask to present the channel