diff --git a/js/ui/messageTray.js b/js/ui/messageTray.js index abdc0982a..163d3eab5 100644 --- a/js/ui/messageTray.js +++ b/js/ui/messageTray.js @@ -633,7 +633,7 @@ export const Source = GObject.registerClass({ this.notifications = []; if (!this._policy) - this._policy = this._createPolicy(); + this._policy = new NotificationGenericPolicy(); } get policy() { @@ -662,10 +662,6 @@ export const Source = GObject.registerClass({ this.notify('count'); } - _createPolicy() { - return new NotificationGenericPolicy(); - } - get narrowestPrivacyScope() { return this.notifications.every(n => n.privacyScope === PrivacyScope.SYSTEM) ? PrivacyScope.SYSTEM