From 93d02c9bcca62c2f684aeda63869079740510f58 Mon Sep 17 00:00:00 2001 From: Michael Hazell Date: Thu, 28 Nov 2019 04:24:13 -0500 Subject: [PATCH] Fix highlights in notify_private buffers with notify level is 0 --- js/handlers.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/handlers.js b/js/handlers.js index 2e749cf..77c5e91 100644 --- a/js/handlers.js +++ b/js/handlers.js @@ -168,7 +168,7 @@ weechat.factory('handlers', ['$rootScope', '$log', 'models', 'plugins', 'notific $rootScope.$emit('notificationChanged'); } - if ((buffer.notify !== 0 && message.highlight) || _.contains(message.tags, 'notify_private')) { + if ((buffer.notify !== 0) && (message.highlight || _.contains(message.tags, 'notify_private'))) { buffer.notification++; server.unread++; notifications.createHighlight(buffer, message);