Fix bug with onlyUnread and buffer with notifications without unread

messages
This commit is contained in:
Tor Hveem 2013-10-18 15:59:46 +02:00
parent 33ee9bd951
commit 45a0d0cd21

View file

@ -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;
};