Do not automatically switch to newly open buffer.

Fixes #279
This commit is contained in:
Tor Hveem 2014-06-10 16:59:45 +02:00
parent 3bb18cb8f3
commit 30fd4794e9

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) {