From d91fa1a37a0d88d77f93386b15d94c81b5fa71f8 Mon Sep 17 00:00:00 2001 From: syuilo Date: Mon, 28 Dec 2020 23:41:09 +0900 Subject: [PATCH] fix bug --- src/misc/get-note-summary.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/misc/get-note-summary.ts b/src/misc/get-note-summary.ts index b80da16ca..a1866fb20 100644 --- a/src/misc/get-note-summary.ts +++ b/src/misc/get-note-summary.ts @@ -33,7 +33,7 @@ export const getNoteSummary = (note: any, locale: any): string => { // 返信のとき if (note.replyId) { if (note.reply) { - summary += `\n\nRE: ${summarize(note.reply, locale)}`; + summary += `\n\nRE: ${getNoteSummary(note.reply, locale)}`; } else { summary += '\n\nRE: ...'; } @@ -42,7 +42,7 @@ export const getNoteSummary = (note: any, locale: any): string => { // Renoteのとき if (note.renoteId) { if (note.renote) { - summary += `\n\nRN: ${summarize(note.renote, locale)}`; + summary += `\n\nRN: ${getNoteSummary(note.renote, locale)}`; } else { summary += '\n\nRN: ...'; }