Merge pull request #639 from glowing-bear/always-show-server-buffers
Always show server buffers in hierarchical view
This commit is contained in:
commit
9cdfad15d2
1 changed files with 2 additions and 1 deletions
|
@ -651,7 +651,8 @@ weechat.controller('WeechatCtrl', ['$rootScope', '$scope', '$store', '$timeout',
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
// Always show core buffer in the list (issue #438)
|
// 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 true;
|
||||||
}
|
}
|
||||||
return buffer.unread > 0 || buffer.notification > 0;
|
return buffer.unread > 0 || buffer.notification > 0;
|
||||||
|
|
Loading…
Reference in a new issue