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); var buffer = models.getBuffer(l.buffer);
// 1 is message // 1 is message
buffer.unread += l.count[1]; buffer.unread += l.count[1];
// 2 is ? // 2 is private
buffer.unread += l.count[2]; buffer.notification += l.count[2];
// 3 is highlight // 3 is highlight
buffer.notification += l.count[3]; buffer.notification += l.count[3];
/* Since there is unread messages, we can guess /* Since there is unread messages, we can guess

Loading…
Cancel
Save