parent
84af6f49c8
commit
df5734523f
1 changed files with 1 additions and 1 deletions
|
|
@ -584,7 +584,7 @@ export async function updateNote(value: string | IObject, resolver?: Resolver) {
|
||||||
text = await htmlToMfm(post.content, post.tag);
|
text = await htmlToMfm(post.content, post.tag);
|
||||||
}
|
}
|
||||||
|
|
||||||
const cw = post.sensitive && post.summary;
|
const cw = post.summary === "" ? null : post.summary;
|
||||||
|
|
||||||
// File parsing
|
// File parsing
|
||||||
const fileList = post.attachment
|
const fileList = post.attachment
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue