do not trigger unread for lines tagged with notify_none

This commit is contained in:
Tor Hveem 2013-10-07 12:14:19 +02:00
parent a82ca40db8
commit 34b5d84d53
1 changed files with 1 additions and 1 deletions

View File

@ -289,7 +289,7 @@ weechat.factory('handlers', ['$rootScope', 'colors', 'pluginManager', function($
buffer_line['message'] = message;
if (!_isActiveBuffer(buffer) && !initial) {
if (!_isActiveBuffer(buffer) && !initial && !_.contains(tags_array, 'notify_none')) {
if ($rootScope.buffers[buffer]['unread'] == '') {
$rootScope.buffers[buffer]['unread'] = 1;