summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/misc/get-note-summary.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/misc/get-note-summary.ts b/src/misc/get-note-summary.ts
index f02f74e275..e3458cb189 100644
--- a/src/misc/get-note-summary.ts
+++ b/src/misc/get-note-summary.ts
@@ -14,7 +14,7 @@ const summarize = (note: any): string => {
let summary = '';
// 本文
- if (note.cw && note.cw != '') {
+ if (note.cw != null) {
summary += note.cw;
} else {
summary += note.text ? note.text : '';