decrement quote count correctly

This commit is contained in:
Hazelnoot 2025-05-11 05:06:10 -04:00
parent 36e1ad0f56
commit 7cb7ed6fc9

View file

@ -124,7 +124,7 @@ export class NoteDeleteService {
this.perUserNotesChart.update(user, note, false); this.perUserNotesChart.update(user, note, false);
} }
if (note.renoteId && note.text || !note.renoteId) { if (!isRenote(note) || isQuote(note)) {
// Decrement notes count (user) // Decrement notes count (user)
this.decNotesCountOfUser(user); this.decNotesCountOfUser(user);
} }