How to unhide a blocked user's posts?

Hey there!

So, one of our moderators had to block one of our leaders temporarily to fix something in her account. When he unblocked her, her posts remained hidden, as expected. Some users have been confused on why all of the posts seem to be flagged, and I’d like to know if there’s a way to unhide all of the user’s posts. Thanks! :slightly_smiling_face:


Just remembered the option to “Unhide Post”, but that’s still pretty tedious.

The only way I can think of would be to use the rails console. SSH into your server and then

cd /var/discourse
./launcher enter app
rails c

Where “<id>” is the id of the moderator.