Fix CW Import

This commit is contained in:
DVD 2023-07-13 09:05:38 +08:00
parent 6129d6eddb
commit c5eeb5e583
No known key found for this signature in database
GPG Key ID: 17C8715EFC9A5D4A
1 changed files with 1 additions and 1 deletions

View File

@ -50,7 +50,7 @@ export async function importMastoPost(
text: text || undefined,
reply,
renote: null,
cw: post.sensitive,
cw: post.object.sensitive ? post.object.summary : undefined,
localOnly: false,
visibility: "hidden",
visibleUsers: [],