Support BufferOpened

This commit is contained in:
David Cormier 2013-10-08 10:05:46 -04:00
parent 02c57fef6d
commit 1404c04590
1 changed files with 1 additions and 1 deletions

View File

@ -216,7 +216,7 @@ weechat.factory('handlers', ['$rootScope', 'colors', 'models', 'pluginManager',
var handleBufferOpened = function(message) {
var bufferMessage = message['objects'][0]['content'][0];
var buffer = new models.Buffer(bufferMessage);
//$rootScope.buffers[buffer.id] = buffer;
models.addBuffer(buffer);
}