superseriousbusiness / gotosocial

Fast, fun, small ActivityPub server.
https://docs.gotosocial.org
GNU Affero General Public License v3.0
3.7k stars 316 forks source link

[chore] Mark media as sensitive if content warning is set, even if 'sensitive' flag was set to false #3293

Closed tsmethurst closed 1 week ago

tsmethurst commented 2 weeks ago

While most clients seem to automatically set "sensitive" to true if a content warning is used, some clients don't. This leads to situations where some folks can set a content warning, assume that media will be marked sensitive, and then accidentally create posts with a content warning, but unblurred media, leading to embarrassing situations like posting bare-ass nudes on the timeline immediately visible. We should probably just set the "sensitive" flag to "true" on the server side if a client doesn't do it.