From be72b4a32ae193d547d2690f24388dec14c3750f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?wxcaf=C3=A9?= Date: Wed, 5 Apr 2017 13:04:10 +0200 Subject: [PATCH] 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... --- mastodon/Mastodon.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/mastodon/Mastodon.py b/mastodon/Mastodon.py index 9d8b173..7b0f7ad 100644 --- a/mastodon/Mastodon.py +++ b/mastodon/Mastodon.py @@ -387,7 +387,8 @@ class Mastodon: 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 - 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 option on the /api/v1/status POST API endpoint. It accepts any of: