mirror of
https://github.com/discourse/discourse-adplugin.git
synced 2025-02-27 14:27:05 +00:00
Hidden tags aren't sent to the client, so they couldn't be used to disable ads on topic pages. Do this calculation on the server. Topic list pages for tags can continue to check on the client because non-staff get a 404 error when trying to view a hidden tag's topic list.