treat filters as special channels that should highlight always

This commit is contained in:
unknown 2024-10-20 18:23:21 +02:00
parent b0e3a41312
commit ef2647fe05

View file

@ -631,12 +631,9 @@ bool NotebookTab::shouldMessageHighlight(const ChannelView &channelViewSource,
if (channelViewSource.underlyingChannel() ==
visibleSplit->getChannel() &&
visibleSplit->getChannelView().shouldIncludeMessage(message) &&
channelViewSource.shouldIncludeMessage(message))
channelViewSource.shouldIncludeMessage(message) &&
channelViewSource.getFilterIds().empty())
{
// all filters in unvisible source are found in visible split
// therefore the unvisible split is more generic than the visible one
// and the visible one is showing current message
// so no highlight of unvisible tab needed
return false;
}
}