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

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: [],