mirror of
https://codeberg.org/yeentown/barkey.git
synced 2025-07-08 04:54:32 +00:00
decrement quote count correctly
This commit is contained in:
parent
36e1ad0f56
commit
7cb7ed6fc9
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue