Fix bug with onlyUnread and buffer with notifications without unread
messages
This commit is contained in:
parent
33ee9bd951
commit
45a0d0cd21
1 changed files with 1 additions and 1 deletions
|
@ -436,7 +436,7 @@ weechat.controller('WeechatCtrl', ['$rootScope', '$scope', '$store', '$timeout',
|
|||
if (models.getActiveBuffer() == buffer) {
|
||||
return true;
|
||||
}
|
||||
return buffer.unread > 0;
|
||||
return buffer.unread > 0 || buffer.notification > 0;
|
||||
}
|
||||
return true;
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue