Merge pull request #635 from angus-g/hidden-buffers
Handle hidden weechat buffers
This commit is contained in:
commit
9659fa2efc
4 changed files with 22 additions and 3 deletions
|
@ -655,9 +655,9 @@ weechat.controller('WeechatCtrl', ['$rootScope', '$scope', '$store', '$timeout',
|
|||
if (buffer.fullName === "core.weechat" || (settings.orderbyserver && buffer.type === 'server')) {
|
||||
return true;
|
||||
}
|
||||
return buffer.unread > 0 || buffer.notification > 0;
|
||||
return (buffer.unread > 0 || buffer.notification > 0) && !buffer.hidden;
|
||||
}
|
||||
return true;
|
||||
return !buffer.hidden;
|
||||
};
|
||||
|
||||
// Watch model and update show setting when it changes
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue