Clarify how sensitive media is handled

The boolean has to be set to None (False still marks it as sensitive on the server). I lost about 4 hours on this...
This commit is contained in:
wxcafé 2017-04-05 13:04:10 +02:00 cometido por GitHub
pare 5182aecace
commit be72b4a32a

Veure arxiu

@ -387,7 +387,8 @@ class Mastodon:
The 'sensitive' boolean decides whether or not media attached to the post The 'sensitive' boolean decides whether or not media attached to the post
should be marked as sensitive, which hides it by default on the Mastodon should be marked as sensitive, which hides it by default on the Mastodon
web front-end. web front-end. It should be None (and not False) for the media not to be
marked as sensitive
The visibility parameter is a string value and matches the visibility The visibility parameter is a string value and matches the visibility
option on the /api/v1/status POST API endpoint. It accepts any of: option on the /api/v1/status POST API endpoint. It accepts any of: