Merge pull request #1077 from Techman/master+fix-highlights

Fix highlights notify_private buffers with where notify level is 0
use-minification
Lorenz Hübschle-Schneider 6 years ago committed by GitHub
commit 5c401b6923
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      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);

Loading…
Cancel
Save