Fix CW Import

This commit is contained in:
DVD 2023-07-13 09:05:38 +08:00
parent 6e94df5198
commit 49d599144f

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