mirror of
https://iceshrimp.dev/crimekillz/trashposs
synced 2024-11-25 10:19:06 +01:00
Better cw detection
This commit is contained in:
parent
282f8de1aa
commit
8e8e8c4c91
1 changed files with 1 additions and 1 deletions
|
@ -14,7 +14,7 @@ const summarize = (note: any): string => {
|
||||||
let summary = '';
|
let summary = '';
|
||||||
|
|
||||||
// 本文
|
// 本文
|
||||||
if (note.cw && note.cw != '') {
|
if (note.cw != null) {
|
||||||
summary += note.cw;
|
summary += note.cw;
|
||||||
} else {
|
} else {
|
||||||
summary += note.text ? note.text : '';
|
summary += note.text ? note.text : '';
|
||||||
|
|
Loading…
Reference in a new issue