Add highlight color and show in mentions to automod messages (#5215)
This commit is contained in:
@@ -128,6 +128,9 @@ void ColorProvider::initTypeColorMap()
|
||||
initColor(ColorType::ThreadMessageHighlight,
|
||||
getSettings()->threadHighlightColor,
|
||||
HighlightPhrase::FALLBACK_THREAD_HIGHLIGHT_COLOR);
|
||||
|
||||
initColor(ColorType::AutomodHighlight, getSettings()->automodHighlightColor,
|
||||
HighlightPhrase::FALLBACK_AUTOMOD_HIGHLIGHT_COLOR);
|
||||
}
|
||||
|
||||
void ColorProvider::initDefaultColors()
|
||||
|
||||
@@ -18,6 +18,7 @@ enum class ColorType {
|
||||
ThreadMessageHighlight,
|
||||
// Used in automatic highlights of your own messages
|
||||
SelfMessageHighlight,
|
||||
AutomodHighlight,
|
||||
};
|
||||
|
||||
class ColorProvider
|
||||
|
||||
Reference in New Issue
Block a user