set the correct "marked an NSFW" when loading admin-user
What does this PR do?
Before this change, the moderation page for a user always showed the "Mark all media from user as NSFW" toggle as being off, regardless of the actual value in the database.
With this, it shows the correct value. Thanks @Amelia for reporting the problem.
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
Activity
Filter activity
assigned to @dakkar
added 1 commit
- a7d19d0c - prevent a "always nsfw" user from unmarking their media
also, this seems to only apply to local users? see DriveService:
this.userEntityService.isLocalUser(user) && profile!.alwaysMarkNsfw
(only mention of
profile.alwaysMarkNsfw
in that file, before this MR)- A deleted user
merged
mentioned in commit 55fc2879
Please register or sign in to reply