This commit is contained in:
syuilo
2019-04-13 18:58:29 +09:00
parent 8cb9852058
commit 1181fcdceb
4 changed files with 11 additions and 11 deletions

View File

@@ -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) {