mirror of
https://iceshrimp.dev/iceshrimp/iceshrimp
synced 2024-11-29 07:18:08 +09:00
Fix #3646
This commit is contained in:
parent
d31f21d1dc
commit
c725c9f76a
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user