Add option always include broadcaster in user completions (#5193)

This commit is contained in:
KleberPF
2024-02-24 10:21:29 -03:00
committed by GitHub
parent 66910507dc
commit 86111d59b6
5 changed files with 36 additions and 7 deletions
@@ -1032,6 +1032,11 @@ void GeneralPage::initLayout(GeneralPageView &layout)
"Find mentions of users in chat without the @ prefix.");
layout.addCheckbox("Show username autocompletion popup menu",
s.showUsernameCompletionMenu);
layout.addCheckbox(
"Always include broadcaster in user completions",
s.alwaysIncludeBroadcasterInUserCompletions, false,
"This will ensure a broadcaster is always easy to ping, even if they "
"don't have chat open or have typed recently.");
const QStringList usernameDisplayModes = {"Username", "Localized name",
"Username and localized name"};