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
+5
View File
@@ -207,6 +207,11 @@ bool StreamerMode::shouldHideModActions() const
return getSettings()->streamerModeHideModActions && this->isEnabled();
}
bool StreamerMode::shouldHideSuspiciousUsers() const
{
return getSettings()->streamerModeHideSuspiciousUsers && this->isEnabled();
}
void StreamerMode::start()
{
this->private_->start();