From 49d599144f7fc9cc3119ddc449fbdc56a0455326 Mon Sep 17 00:00:00 2001 From: DVD Date: Thu, 13 Jul 2023 09:05:38 +0800 Subject: [PATCH] Fix CW Import --- packages/backend/src/queue/processors/db/import-masto-post.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/backend/src/queue/processors/db/import-masto-post.ts b/packages/backend/src/queue/processors/db/import-masto-post.ts index 317ba7b1b..efa4adf3f 100644 --- a/packages/backend/src/queue/processors/db/import-masto-post.ts +++ b/packages/backend/src/queue/processors/db/import-masto-post.ts @@ -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: [],