update user activity on Renote, Un-Renote, Note Edit, React, and Un-React
This commit is contained in:
parent
b22b5577b4
commit
b4bce57fcb
4 changed files with 10 additions and 0 deletions
|
|
@ -127,6 +127,8 @@ export class NoteDeleteService {
|
|||
if (!isRenote(note) || isQuote(note)) {
|
||||
// Decrement notes count (user)
|
||||
this.decNotesCountOfUser(user);
|
||||
} else {
|
||||
this.usersRepository.update({ id: user.id }, { updatedAt: new Date() });
|
||||
}
|
||||
|
||||
if (this.meta.enableStatsForFederatedInstances) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue