From 64af1f357c1d1d39fac2c833c55add6bd8c538a1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lorenz=20H=C3=BCbschle-Schneider?= Date: Wed, 7 May 2014 18:57:13 +0100 Subject: [PATCH] Fix query notifications on first connect Fixes #284 --- js/glowingbear.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/js/glowingbear.js b/js/glowingbear.js index 8182ccf..875769c 100644 --- a/js/glowingbear.js +++ b/js/glowingbear.js @@ -133,8 +133,8 @@ weechat.factory('handlers', ['$rootScope', 'models', 'plugins', function($rootSc var buffer = models.getBuffer(l.buffer); // 1 is message buffer.unread += l.count[1]; - // 2 is ? - buffer.unread += l.count[2]; + // 2 is private + buffer.notification += l.count[2]; // 3 is highlight buffer.notification += l.count[3]; /* Since there is unread messages, we can guess