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

[Bug]: When editing an post with media, the value of "Mark media as sensitive" metadata is not loaded in the editor and defaults to disabled #809

Closed
TriVoxel opened this issue Feb 28, 2024 · 1 comment · Fixed by #811
Labels
bug Something isn't working

Comments

@TriVoxel
Copy link

TriVoxel commented Feb 28, 2024

Describe the bug

When you edit a post you made with a "sensitive content" tag on the media, the "sensitive content" tag will not be remembered in the editor. If a user then posts the message, it will not have a content warning unless they remember to re-add the tag.

Steps To Reproduce

  1. Post a message with media, and click the "eye" icon to mark the media as "sensitive"
  2. Edit the message
  3. Note in the media tab, the "eye" icon is unset
  4. Post the message after making edits, the content warning will not be there lest you re-add it manually

Logs and/or Screenshots

Screenshot from 2024-02-27 23-57-00

Instance Backend

Mastodon

Operating System

ChimeraOS 45

Package

Flatpak

Troubleshooting information

os: Fedora Linux 39 (Thirty Nine)
prefix: /app
flatpak: true
version: 0.6.1 (production)
gtk: 4.12.4 (4.12.4)
libadwaita: 1.4.2 (1.4.2)
libsoup: 3.4.4 (3.4.4)
libgtksourceview: 5.10.0 (5.10.0)

Additional Context

No response

@TriVoxel TriVoxel added the bug Something isn't working label Feb 28, 2024
@TriVoxel TriVoxel changed the title [Bug]: When editing an post with media, "sensitive media" tag is not saved [Bug]: When editing an post with media, the value of "Mark media as sensitive" metadata is not loaded in the editor and defaults to disabled Feb 28, 2024
@GeopJr
Copy link
Owner

GeopJr commented Feb 28, 2024

Nice catch!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants