Index: messageResponder.js |
diff --git a/messageResponder.js b/messageResponder.js |
index 04230bed338cc8b12419f7dd87165ba7ae0b3869..368a65ca6ac744e039434128ec4b0f8bbc09c545 100644 |
--- a/messageResponder.js |
+++ b/messageResponder.js |
@@ -28,7 +28,8 @@ |
const {FilterNotifier} = require("filterNotifier"); |
const {defaultMatcher} = require("matcher"); |
const {Notification: NotificationStorage} = require("notification"); |
- const {getActiveNotification, shouldDisplay} = require("notificationHelper"); |
+ const {getActiveNotification, shouldDisplay, |
+ notificationClicked} = require("notificationHelper"); |
const { |
Filter, ActiveFilter, BlockingFilter, RegExpFilter |
@@ -374,6 +375,11 @@ |
return Object.assign({texts}, notification); |
}); |
+ port.on("notifications.clicked", (message, sender) => |
+ { |
+ notificationClicked(); |
+ }); |
+ |
port.on("subscriptions.add", (message, sender) => |
{ |
let subscription = Subscription.fromURL(message.url); |