Add a setting for the timeout stack style:
"Stack" is the default behaviour, it will search 20 messages up and 5 seconds back in time to stack the timeout. "Stack sparingly" will try to do the same, but only if the user has not typed a message inbetween the this and the last timeout. Fixes #1157
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
|
||||
#include "BaseSettings.hpp"
|
||||
|
||||
#include "common/Channel.hpp"
|
||||
#include "controllers/highlights/HighlightPhrase.hpp"
|
||||
#include "controllers/moderationactions/ModerationAction.hpp"
|
||||
#include "singletons/Toasts.hpp"
|
||||
@@ -129,6 +130,9 @@ public:
|
||||
|
||||
/// Moderation
|
||||
QStringSetting timeoutAction = {"/moderation/timeoutAction", "Disable"};
|
||||
IntSetting timeoutStackStyle = {
|
||||
"/moderation/timeoutStackStyle",
|
||||
static_cast<int>(TimeoutStackStyle::Default)};
|
||||
|
||||
/// Highlighting
|
||||
// BoolSetting enableHighlights = {"/highlighting/enabled", true};
|
||||
|
||||
Reference in New Issue
Block a user