Merge pull request #687 from glowing-bear/initialise-unread-count

Fix initialisation of global unread count
paste-quickfix
Tor Hveem 10 years ago
commit 0818cc3f9c
  1. 2
      js/glowingbear.js

@ -214,8 +214,10 @@ weechat.controller('WeechatCtrl', ['$rootScope', '$scope', '$store', '$timeout',
);
}
notifications.updateTitle(ab);
setTimeout(function(){
$scope.notifications = notifications.unreadCount('notification');
$scope.unread = notifications.unreadCount('unread');
});
$timeout(function() {
$rootScope.scrollWithBuffer(true);

Loading…
Cancel
Save