mirror of
https://github.com/kokonect-link/cherrypick
synced 2024-11-02 08:05:58 +09:00
Better cw detection
This commit is contained in:
parent
aa47b6732d
commit
710ba526fa
@ -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 : '';
|
||||
|
Loading…
Reference in New Issue
Block a user