Reset unread count on disconnect

This commit is contained in:
Lorenz Hübschle-Schneider 2014-03-05 13:20:48 +00:00
parent 58a26ceea9
commit 71cafde5a3

View file

@ -683,6 +683,7 @@ weechat.controller('WeechatCtrl', ['$rootScope', '$scope', '$store', '$timeout',
// this reinitialze just breaks the bufferlist upon reconnection.
// Disabled it until it's fully investigated and fixed
//models.reinitialize();
$rootScope.$emit('notificationChanged');
});
$scope.showSidebar = true;