LemmyNet/lemmy

Remove `local_site.enable_nsfw` and use `site.content_warning` instead

Nutomic opened this issue · 0 comments

Requirements

  • Is this a feature request? For questions or discussions use https://lemmy.ml/c/lemmy_support
  • Did you check to see if this issue already exists?
  • Is this only a feature request? Do not put multiple feature requests in one issue.
  • Is this a backend issue? Use the lemmy-ui repo for UI / frontend issues.
  • Do you agree to follow the rules in our Code of Conduct?

Is your proposal related to a problem?

Both of them essentially serve the same purpose, so there is no need to duplicate it. We can simply consider that if a content warning exists, its equivalent to enable_nsfw and get rid of that column.

This is a breaking change so it needs to wait for 0.20.