Merge pull request #1077 from Techman/master+fix-highlights
Fix highlights notify_private buffers with where notify level is 0
This commit is contained in:
commit
5c401b6923
|
@ -168,7 +168,7 @@ weechat.factory('handlers', ['$rootScope', '$log', 'models', 'plugins', 'notific
|
||||||
$rootScope.$emit('notificationChanged');
|
$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++;
|
buffer.notification++;
|
||||||
server.unread++;
|
server.unread++;
|
||||||
notifications.createHighlight(buffer, message);
|
notifications.createHighlight(buffer, message);
|
||||||
|
|
Loading…
Reference in New Issue