Add showInMentions option for Badge Highlights (#4034)

Co-authored-by: Rasmus Karlsson <rasmus.karlsson@pajlada.com>
This commit is contained in:
Felanbird
2022-10-02 07:25:10 -04:00
committed by GitHub
parent 2deed8e1cb
commit 9816722b5e
8 changed files with 97 additions and 38 deletions
@@ -181,9 +181,11 @@ void rebuildUserHighlights(Settings &settings,
}
return HighlightResult{
highlight.hasAlert(), highlight.hasSound(),
highlightSoundUrl, highlight.getColor(),
highlight.showInMentions(),
highlight.hasAlert(), //
highlight.hasSound(), //
highlightSoundUrl, //
highlight.getColor(), //
highlight.showInMentions(), //
};
}});
}
@@ -216,11 +218,11 @@ void rebuildBadgeHighlights(Settings &settings,
}
return HighlightResult{
highlight.hasAlert(),
highlight.hasSound(),
highlightSoundUrl,
highlight.getColor(),
false, // showInMentions
highlight.hasAlert(), //
highlight.hasSound(), //
highlightSoundUrl, //
highlight.getColor(), //
highlight.showInMentions(), //
};
}
}