diff options
-rw-r--r-- | src/api/mastodon/index.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/api/mastodon/index.ts b/src/api/mastodon/index.ts index d0de0a0..e6a8c25 100644 --- a/src/api/mastodon/index.ts +++ b/src/api/mastodon/index.ts | |||
@@ -50,7 +50,7 @@ export async function createStatus( | |||
50 | json: { | 50 | json: { |
51 | status: lines.join("\n"), | 51 | status: lines.join("\n"), |
52 | media_ids: [attachmentId], | 52 | media_ids: [attachmentId], |
53 | sensitive: true, | 53 | sensitive: !!spoilerText, |
54 | spoiler_text: spoilerText, | 54 | spoiler_text: spoilerText, |
55 | visibility: "unlisted", | 55 | visibility: "unlisted", |
56 | }, | 56 | }, |