[bug] Cannot unmark nsfw if set "Mark as sensitive by default"
What happened? (Please give us a brief description of what happened.)
Cannot unmark nsfw if set "Mark as sensitive by default" in drive settings.
I noticed a weird translation here:
alwaysMarkSensitive: "Mark as sensitive by default"
So what we think see as "mark as sensitive by default" actually does is... set alwaysMarkNsfw
in the user profile to true.
It seems that the backend code has some misunderstanding on this variable, this leads to that once the user sets "Mark as sensitive by default", they cannot unmark files as sensitive anymore.
What did you expect to happen? (Please give us a brief description of what you expected to happen.)
Can unmark nsfw if set "Mark as sensitive by default" in drive settings.
Version (What version of Sharkey is your instance running? You can find this by clicking your instance's logo at the top left and then clicking instance information.)
latest develop
Instance (What instance of Sharkey are you using?)
but this can be reproduced in tramsfem.social
What type of issue is this? (If this happens on your device and has to do with the user interface, it's client-side. If this happens on either with the API or the backend, or you got a server-side error in the client, it's server-side.)
server-side
Contribution Guidelines By submitting this issue, you agree to follow our Contribution Guidelines
- I agree to follow this project's Contribution Guidelines
- I have searched the issue tracker for similar issues, and this is not a duplicate.