From 415583c3f5155f6bfa70e6d22c57bd4f97d17999 Mon Sep 17 00:00:00 2001 From: Tor Hveem Date: Sat, 11 Feb 2023 11:11:04 +0100 Subject: [PATCH] fix a long standing bug with alt+# not respecting only unread setting --- src/js/inputbar.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/js/inputbar.js b/src/js/inputbar.js index abeec64..00dcd78 100644 --- a/src/js/inputbar.js +++ b/src/js/inputbar.js @@ -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];