NotificationDaemon: stop filtering notifications from empathy
Now that we don't have our own code for showing telepathy notifications, we don't need to filter out empathy's. https://bugzilla.gnome.org/show_bug.cgi?id=745503
This commit is contained in:
parent
707cc9e315
commit
8eb236ae41
@ -212,13 +212,10 @@ const FdoNotificationDaemon = new Lang.Class({
|
|||||||
|
|
||||||
// Filter out chat, presence, calls and invitation notifications from
|
// Filter out chat, presence, calls and invitation notifications from
|
||||||
// Empathy, since we handle that information from telepathyClient.js
|
// Empathy, since we handle that information from telepathyClient.js
|
||||||
if (appName == 'Empathy' && (hints['category'] == 'im.received' ||
|
//
|
||||||
hints['category'] == 'x-empathy.im.room-invitation' ||
|
// Note that empathy uses im.received for one to one chats and
|
||||||
hints['category'] == 'x-empathy.call.incoming' ||
|
// x-empathy.im.mentioned for multi-user, so we're good here
|
||||||
hints['category'] == 'x-empathy.transfer.incoming' ||
|
if (appName == 'Empathy' && hints['category'] == 'im.received') {
|
||||||
hints['category'] == 'x-empathy.im.subscription-request' ||
|
|
||||||
hints['category'] == 'presence.online' ||
|
|
||||||
hints['category'] == 'presence.offline')) {
|
|
||||||
// Ignore replacesId since we already sent back a
|
// Ignore replacesId since we already sent back a
|
||||||
// NotificationClosed for that id.
|
// NotificationClosed for that id.
|
||||||
id = this._nextNotificationId++;
|
id = this._nextNotificationId++;
|
||||||
|
Loading…
Reference in New Issue
Block a user