summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/misc/get-note-summary.ts6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/misc/get-note-summary.ts b/src/misc/get-note-summary.ts
index aa7687c522..f02f74e275 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) {