fix: only hide messages from restricted users, not all suspicious users (#6049)
it's probably best to leave this setting solo'd out as restricted users so monitored users can get their own behaviour in their own setting later
This commit is contained in:
@@ -166,13 +166,12 @@ void MessageLayout::actuallyLayout(const MessageLayoutContext &ctx)
|
||||
continue;
|
||||
}
|
||||
|
||||
if (this->message_->flags.hasAny(MessageFlag::RestrictedMessage,
|
||||
MessageFlag::MonitoredMessage))
|
||||
if (this->message_->flags.has(MessageFlag::RestrictedMessage))
|
||||
{
|
||||
if (getApp()->getStreamerMode()->shouldHideSuspiciousUsers())
|
||||
if (getApp()->getStreamerMode()->shouldHideRestrictedUsers())
|
||||
{
|
||||
// Message is being hidden because the source is a
|
||||
// restricted or monitored user
|
||||
// restricted user
|
||||
continue;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user