feat: Hide messages from suspicious users in streamer mode (#6042)

This is a setting that's enabled by default and can be disabled under
the "Streamer mode" sub-category in the settings dialog
This commit is contained in:
pajlada
2025-03-08 15:10:25 +01:00
committed by GitHub
parent 9913c6ffd7
commit ee266c35a7
11 changed files with 49 additions and 2 deletions
+4
View File
@@ -23,6 +23,9 @@ public:
/// Returns true if streamer mode is enabled & the settings to hide mod actions is enabled
[[nodiscard]] virtual bool shouldHideModActions() const = 0;
/// Returns true if streamer mode is enabled & the settings to hide messages from suspicious users is enabled
[[nodiscard]] virtual bool shouldHideSuspiciousUsers() const = 0;
virtual void start() = 0;
Q_SIGNALS:
@@ -43,6 +46,7 @@ public:
bool isEnabled() const override;
bool shouldHideModActions() const override;
bool shouldHideSuspiciousUsers() const override;
void start() override;