[Sprint/VacantViper](hotfix/staging): Quick fix to switch mature flag check to is_mature.
Summary
Closes #2390
Recent overlay change !697 (diffs) Is checking for the mature flag, not the is_mature flag. mature flag is set by the "see mature content" checkbox in settings.
Steps to test
- In one browser log into the admin account.
- In another browser create a new account or use an existing one with no NSFW or mature flags set. (a2)
- In the channel dropdown of that user make a users channel nsfw for Pornography.
- Reload profile in a window of a seperate browser.
- You should see the overlay, refresh and check it has stuck properly.
- Unset NSFW, then click
set as explicit
(this sets is_mature) - Refresh the channel.
- Mature content overlay should show.
- Not NSFW https://fix-explicit-overlay-channel-1130.minds.io/nemofin/
- Not NSFW https://fix-explicit-overlay-channel-1130.minds.io/minds/
- NSFW https://fix-explicit-overlay-channel-1130.minds.io/testacc2/
Estimated Regression Scope
Same as the previous card, an issue would likely manifest wherein the overlay is shown at inappropriate times. Very unlikely; the channel could break altogether if an error is thrown inside of the overlay.
added scoped labels
changed the description
added scoped label and automatically removed label
approved this merge request
approved this merge request
Please register or sign in to reply