Fix highlights in notify_private buffers with notify level is 0

This commit is contained in:
Michael Hazell 2019-11-28 04:24:13 -05:00
parent 5bdfa455d8
commit 93d02c9bcc
No known key found for this signature in database
GPG Key ID: FE75457D86B20A0D

View File

@ -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);