You should do it manually.
Go to the user profile, click on the tab Messages, scroll down the Messages title until you will find title like this “Post hidden [by community flags or something similar]”.
Open the message, you will find a link to the hidden topic, enter that topic, click the wrench icon on the right and then click on Make Unlisted