Keep core buffer visible with 'only show unread'
This commit is contained in:
parent
8758cad336
commit
c6e1bca78d
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