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:
pare
5182aecace
commit
be72b4a32a
S'han modificat 1 arxius amb 2 adicions i 1 eliminacions
|
@ -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:
|
||||||
|
|
Loading…
Referencia en una nova incidència