From 71cafde5a3fbaa1163ec31c7f88fdccd6f54eaae Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lorenz=20H=C3=BCbschle-Schneider?= Date: Wed, 5 Mar 2014 13:20:48 +0000 Subject: [PATCH] Reset unread count on disconnect --- js/glowingbear.js | 1 + 1 file changed, 1 insertion(+) diff --git a/js/glowingbear.js b/js/glowingbear.js index 0ccbad3..585c591 100644 --- a/js/glowingbear.js +++ b/js/glowingbear.js @@ -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;