From c6e1bca78d89181010f57ccbb95116ab1955da05 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lorenz=20H=C3=BCbschle-Schneider?= Date: Sat, 13 Sep 2014 17:39:29 +0100 Subject: [PATCH] Keep core buffer visible with 'only show unread' --- js/glowingbear.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/js/glowingbear.js b/js/glowingbear.js index d307890..831612a 100644 --- a/js/glowingbear.js +++ b/js/glowingbear.js @@ -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;