From 34b5d84d53b12979c28554f6302b89460e7f2748 Mon Sep 17 00:00:00 2001 From: Tor Hveem Date: Mon, 7 Oct 2013 12:14:19 +0200 Subject: [PATCH] do not trigger unread for lines tagged with notify_none --- js/websockets.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/websockets.js b/js/websockets.js index 7e3b1cc..592abdb 100644 --- a/js/websockets.js +++ b/js/websockets.js @@ -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;