Better Highlights: Rework highlight parsing order (#1524)

This commit is in response to #1523.

Whispers are now only added to the `/mentions` tab if they also match a
user name or phrase highlight. On a related note, the `highlightVisual_`
member has been removed as it is no longer necessary.
This commit is contained in:
Leon Richardt
2020-02-02 14:33:25 +01:00
committed by GitHub
parent 1fd64be7f5
commit b8953157cc
2 changed files with 51 additions and 56 deletions
@@ -92,7 +92,6 @@ private:
const bool action_ = false;
bool highlightVisual_ = false;
bool highlightAlert_ = false;
bool highlightSound_ = false;