diff options
| author | syuilo <syuilotan@yahoo.co.jp> | 2020-12-28 23:41:09 +0900 |
|---|---|---|
| committer | syuilo <syuilotan@yahoo.co.jp> | 2020-12-28 23:41:09 +0900 |
| commit | d91fa1a37a0d88d77f93386b15d94c81b5fa71f8 (patch) | |
| tree | 30bdae91116e8094ca9e6b95adc3ec00b00c2bc2 /src/misc | |
| parent | 12.64.1 (diff) | |
| download | sharkey-d91fa1a37a0d88d77f93386b15d94c81b5fa71f8.tar.gz sharkey-d91fa1a37a0d88d77f93386b15d94c81b5fa71f8.tar.bz2 sharkey-d91fa1a37a0d88d77f93386b15d94c81b5fa71f8.zip | |
fix bug
Diffstat (limited to 'src/misc')
| -rw-r--r-- | src/misc/get-note-summary.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/misc/get-note-summary.ts b/src/misc/get-note-summary.ts index b80da16caf..a1866fb209 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: ...'; } |