Merge pull request #447 from glowing-bear/unread-only-show-core
Keep core buffer visible with 'only show unread'
This commit is contained in:
commit
2163b930f6
1 changed files with 4 additions and 0 deletions
|
@ -541,6 +541,10 @@ weechat.controller('WeechatCtrl', ['$rootScope', '$scope', '$store', '$timeout',
|
|||
if (models.getActiveBuffer() === buffer) {
|
||||
return true;
|
||||
}
|
||||
// Always show core buffer in the list (issue #438)
|
||||
if (buffer.fullName === "core.weechat") {
|
||||
return true;
|
||||
}
|
||||
return buffer.unread > 0 || buffer.notification > 0;
|
||||
}
|
||||
return true;
|
||||
|
|
Loading…
Reference in a new issue