[gnome-shell] NotificationDaemon: stop filtering notifications from empathy
- From: Giovanni Campagna <gcampagna src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell] NotificationDaemon: stop filtering notifications from empathy
- Date: Tue, 3 Mar 2015 22:33:26 +0000 (UTC)
commit 8eb236ae419e79fc1d979bdc930d0e4f395e0d22
Author: Giovanni Campagna <scampa giovanni gmail com>
Date: Tue Mar 3 00:30:01 2015 -0800
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
js/ui/notificationDaemon.js | 11 ++++-------
1 files changed, 4 insertions(+), 7 deletions(-)
---
diff --git a/js/ui/notificationDaemon.js b/js/ui/notificationDaemon.js
index 8d470c9..9e942b4 100644
--- a/js/ui/notificationDaemon.js
+++ b/js/ui/notificationDaemon.js
@@ -212,13 +212,10 @@ const FdoNotificationDaemon = new Lang.Class({
// Filter out chat, presence, calls and invitation notifications from
// Empathy, since we handle that information from telepathyClient.js
- if (appName == 'Empathy' && (hints['category'] == 'im.received' ||
- hints['category'] == 'x-empathy.im.room-invitation' ||
- hints['category'] == 'x-empathy.call.incoming' ||
- hints['category'] == 'x-empathy.transfer.incoming' ||
- hints['category'] == 'x-empathy.im.subscription-request' ||
- hints['category'] == 'presence.online' ||
- hints['category'] == 'presence.offline')) {
+ //
+ // Note that empathy uses im.received for one to one chats and
+ // x-empathy.im.mentioned for multi-user, so we're good here
+ if (appName == 'Empathy' && hints['category'] == 'im.received') {
// Ignore replacesId since we already sent back a
// NotificationClosed for that id.
id = this._nextNotificationId++;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]