mastodon/spec
ThibG f08f880f58
Fix media not being marked sensitive when client sets a CW but no text (#13277)
Mastodon enforces the “sensitive” flag on media attachments whenever a toot
is posted with a Content Warning. However, it does so *after* potentially
converting the Content Warning to toot text (when there is no toot text),
which leads to inconsistent and surprising behavior for API clients.
This commit fixes this inconsistency.
2020-03-25 22:40:58 +01:00
..
controllers
…
fabricators Add announcements (#12662) 2020-01-23 22:00:13 +01:00
features
…
fixtures
…
helpers
…
lib
…
mailers
…
models
…
policies
…
presenters
…
requests
…
routing
…
serializers/activitypub
…
services Fix media not being marked sensitive when client sets a CW but no text (#13277) 2020-03-25 22:40:58 +01:00
support
…
validators
…
views
…
workers
…
rails_helper.rb
…
spec_helper.rb
…