Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hide audio posts when marked as sensitive #17885

Merged

Conversation

rgroothuijsen
Copy link
Contributor

If an audio file is attached to a post and the post is marked as sensitive, the post will not be hidden as expected. Aside from acting as a general warning for things people might not want to listen to, such a warning can also serve to hide possibly sensitive album art, which is automatically displayed as part of the post.

The simplest way of fixing this seems to be to handle the audio player exactly the same way as the video player, so some of the added code was copied from there.

Fixes #14561

@stale
Copy link

stale bot commented Jul 31, 2022

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the status/wontfix This will not be worked on label Jul 31, 2022
@stale stale bot closed this Aug 13, 2022
@Gargron Gargron reopened this Aug 13, 2022
@Gargron Gargron merged commit e6979aa into mastodon:main Aug 13, 2022
@stale stale bot removed the status/wontfix This will not be worked on label Aug 13, 2022
kadoshita pushed a commit to kadoshita/mastodon that referenced this pull request Nov 19, 2022
ClearlyClaire pushed a commit to ClearlyClaire/mastodon that referenced this pull request Jul 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Audio Thumbnails Don't Respect "Mark media as sensitive"
2 participants