Merge pull request #317 from torhve/bufferopen

Do not automatically switch to newly open buffer.
This commit is contained in:
Lorenz Hübschle-Schneider 2014-06-10 16:04:33 +01:00
commit 98f0b6c60a
1 changed files with 3 additions and 0 deletions

View File

@ -86,7 +86,10 @@ weechat.factory('handlers', ['$rootScope', '$log', 'models', 'plugins', function
var bufferMessage = message.objects[0].content[0]; var bufferMessage = message.objects[0].content[0];
var buffer = new models.Buffer(bufferMessage); var buffer = new models.Buffer(bufferMessage);
models.addBuffer(buffer); models.addBuffer(buffer);
/* Until we can decide if user asked for this buffer to be opened
* or not we will let user click opened buffers.
models.setActiveBuffer(buffer.id); models.setActiveBuffer(buffer.id);
*/
}; };
var handleBufferTitleChanged = function(message) { var handleBufferTitleChanged = function(message) {