Merge pull request '[PR]: Import Content Warning Tags When Importing Posts From Mastodon' (#10481) from dvd/calckey:fix/cw-import into develop

Reviewed-on: https://codeberg.org/calckey/calckey/pulls/10481
This commit is contained in:
Kainoa Kanter 2023-07-13 01:58:02 +00:00
commit 1514d1b8d0
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: [],