Merge pull request #1242 from torhve/fix-altnr

fix a long standing bug with alt+# not respecting the "only unread" setting
This commit is contained in:
Tor Hveem 2023-02-16 19:09:27 +01:00 committed by GitHub
commit c17282b32c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -491,7 +491,7 @@ weechat.directive('inputBar', function() {
bufferNumber = code - 48 - 1 ;
// quick select filtered entries
if (($scope.$parent.search.length || $scope.$parent.onlyUnread) && $scope.$parent.filteredBuffers.length) {
if (($scope.$parent.search.length || settings.onlyUnread) && $scope.$parent.filteredBuffers.length) {
filteredBufferNum = $scope.$parent.filteredBuffers[bufferNumber];
if (filteredBufferNum !== undefined) {
activeBufferId = [filteredBufferNum.number, filteredBufferNum.id];