0
0

Better cw detection

This commit is contained in:
syuilo 2018-12-20 03:22:27 +09:00
parent aa47b6732d
commit 710ba526fa
No known key found for this signature in database
GPG Key ID: BDC4C49D06AB9D69

View File

@ -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 : '';