Fix query notifications on first connect

Fixes #284
l-merge-prefix
Lorenz Hübschle-Schneider 11 years ago
parent 236b0da97b
commit 64af1f357c
  1. 4
      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

Loading…
Cancel
Save