From c725c9f76ab620f04c199818145663c77985dcdf Mon Sep 17 00:00:00 2001 From: syuilo Date: Mon, 17 Dec 2018 20:17:21 +0900 Subject: [PATCH] Fix #3646 --- src/misc/get-note-summary.ts | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/misc/get-note-summary.ts b/src/misc/get-note-summary.ts index aa7687c52..f02f74e27 100644 --- a/src/misc/get-note-summary.ts +++ b/src/misc/get-note-summary.ts @@ -14,7 +14,11 @@ const summarize = (note: any): string => { let summary = ''; // 本文 - summary += note.text ? note.text : ''; + if (note.cw && note.cw != '') { + summary += note.cw; + } else { + summary += note.text ? note.text : ''; + } // ファイルが添付されているとき if ((note.files || []).length != 0) {