Flagged posts appear to everyone, instead of being hidden for users who aren't logged

Hi, everyone :wave:

I hope you’re all having a lovely week so far!

A while ago, there was an option for moderators to flag inappropriate messages, and the messages weren’t visible to basic users. :point_down:

image

Currently, when a message is flagged, it’s still visible, even to those who are not logged in:
image

Can someone guide me on changing the settings so that the flagged posts can appear only to admins and moderators?