Skip to content
Snippets Groups Projects

hide images/videos in og cards, when under a CW - fixes #487

Merged dakkar requested to merge feature/487-hide-sensitive-preview into develop

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

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading