Always show server buffers in hierarchical view

Show them even if 'Only show buffers with unread messages' is set
This commit is contained in:
Lorenz Hübschle-Schneider 2015-08-05 17:35:54 +02:00
parent d07ba4edd1
commit 6ca1deb66d

View file

@ -651,7 +651,8 @@ weechat.controller('WeechatCtrl', ['$rootScope', '$scope', '$store', '$timeout',
return true;
}
// Always show core buffer in the list (issue #438)
if (buffer.fullName === "core.weechat") {
// Also show server buffers in hierarchical view
if (buffer.fullName === "core.weechat" || (settings.orderbyserver && buffer.type === 'server')) {
return true;
}
return buffer.unread > 0 || buffer.notification > 0;