hide images/videos in og cards, when under a CW - fixes #487
What does this PR do?
When a note has a CW, its images and videos are normally hidden in the frontend. Before this fix, the og:image
and og:video:*
<meta>
properties (that are used by embedders to show previews) still included all images and videos that were not also marked sensitive.
This fix makes the previews behave like the normal web frontend.
Contribution Guidelines By submitting this merge request, you agree to follow our Contribution Guidelines
-
I agree to follow this project's Contribution Guidelines -
I have made sure to test this pull request