Fix bug
This commit is contained in:
parent
8cb9852058
commit
1181fcdceb
4 changed files with 11 additions and 11 deletions
|
|
@ -152,7 +152,7 @@ export async function createNote(value: any, resolver?: Resolver, silent = false
|
|||
const cw = note.summary === '' ? null : note.summary;
|
||||
|
||||
// テキストのパース
|
||||
const text = note._misskey_content || fromHtml(note.content);
|
||||
const text = note._misskey_content || (note.content ? fromHtml(note.content) : null);
|
||||
|
||||
// vote
|
||||
if (reply && reply.hasPoll) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue