update user activity on Renote, Un-Renote, Note Edit, React, and Un-React

This commit is contained in:
Hazelnoot 2025-05-11 05:06:58 -04:00
parent b22b5577b4
commit b4bce57fcb
4 changed files with 10 additions and 0 deletions

View file

@ -592,6 +592,8 @@ export class NoteCreateService implements OnApplicationShutdown {
if (!this.isRenote(note) || this.isQuote(note)) {
// Increment notes count (user)
this.incNotesCountOfUser(user);
} else {
this.usersRepository.update({ id: user.id }, { updatedAt: new Date() });
}
this.pushToTl(note, user);