Fix highlights in notify_private buffers with notify level is 0

use-minification
Michael Hazell 6 years ago
parent 5bdfa455d8
commit 93d02c9bcc
No known key found for this signature in database
GPG Key ID: FE75457D86B20A0D
  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