forked from FoundKeyGang/FoundKey
more compact notifications
Don't show the entire renoted note in notifications and some other places. Changelog: Changed
This commit is contained in:
parent
5f09a44dbb
commit
ab22a1afa0
2 changed files with 0 additions and 18 deletions
|
@ -37,14 +37,5 @@ export const getNoteSummary = (note: Packed<'Note'>): string => {
|
|||
}
|
||||
}
|
||||
|
||||
// Renoteのとき
|
||||
if (note.renoteId) {
|
||||
if (note.renote) {
|
||||
summary += `\n\nRN: ${getNoteSummary(note.renote)}`;
|
||||
} else {
|
||||
summary += '\n\nRN: ...';
|
||||
}
|
||||
}
|
||||
|
||||
return summary.trim();
|
||||
};
|
||||
|
|
|
@ -29,15 +29,6 @@ export const getNoteSummary = (note: foundkey.entities.Note): string => {
|
|||
summary += ` (${i18n.ts.poll})`;
|
||||
}
|
||||
|
||||
// 返信のとき
|
||||
if (note.replyId) {
|
||||
if (note.reply) {
|
||||
summary += `\n\nRE: ${getNoteSummary(note.reply)}`;
|
||||
} else {
|
||||
summary += '\n\nRE: ...';
|
||||
}
|
||||
}
|
||||
|
||||
// Renoteのとき
|
||||
if (note.renoteId) {
|
||||
if (note.renote) {
|
||||
|
|
Loading…
Reference in a new issue