mirror of
https://github.com/Chatterino/chatterino2.git
synced 2024-11-21 22:24:07 +01:00
treat filters as special channels that should highlight always
This commit is contained in:
parent
b0e3a41312
commit
ef2647fe05
1 changed files with 2 additions and 5 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue