mirror of
https://github.com/Chatterino/chatterino2.git
synced 2024-11-13 19:49:51 +01:00
treat filters as special channels that should highlight always
This commit is contained in:
parent
b0e3a41312
commit
ef2647fe05
|
@ -631,12 +631,9 @@ bool NotebookTab::shouldMessageHighlight(const ChannelView &channelViewSource,
|
||||||
if (channelViewSource.underlyingChannel() ==
|
if (channelViewSource.underlyingChannel() ==
|
||||||
visibleSplit->getChannel() &&
|
visibleSplit->getChannel() &&
|
||||||
visibleSplit->getChannelView().shouldIncludeMessage(message) &&
|
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;
|
return false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue