Add setting to limit number of historical messages to load on connect (#2252)

This commit is contained in:
pajlada
2020-12-06 13:04:49 +01:00
committed by GitHub
parent 8b2c3c7386
commit 4436109a2f
7 changed files with 59 additions and 1 deletions
@@ -600,6 +600,9 @@ void GeneralPage::initLayout(GeneralPageView &layout)
s.highlightInlineWhispers);
layout.addCheckbox("Load message history on connect",
s.loadTwitchMessageHistoryOnConnect);
// TODO: Change phrasing to use better english once we can tag settings, right now it's kept as history instead of historical so that the setting shows up when the user searches for history
layout.addIntInput("Max number of history messages to load on connect",
s.twitchMessageHistoryLimit, 10, 800, 10);
layout.addCheckbox("Enable experimental IRC support (requires restart)",
s.enableExperimentalIrc);