Fix bufferlist not working after reconnect

This commit is contained in:
Tor Hveem 2014-03-05 11:22:03 +01:00
parent cf75d75412
commit 5552d40ec2

View file

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