Add showInMentions option for Badge Highlights (#4034)
Co-authored-by: Rasmus Karlsson <rasmus.karlsson@pajlada.com>
This commit is contained in:
@@ -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(), //
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user