mirror of
https://iceshrimp.dev/crimekillz/trashposs
synced 2024-11-22 00:43:49 +01:00
[backend] Update user profile mentions in background
This commit is contained in:
parent
32d471803c
commit
062d256a67
@ -387,7 +387,7 @@ export async function createPerson(
|
||||
updateUsertags(user!, tags);
|
||||
|
||||
// Mentions update
|
||||
await UserProfiles.updateMentions(user!.id);
|
||||
UserProfiles.updateMentions(user!.id);
|
||||
|
||||
//#region Fetch avatar and header image
|
||||
const [avatar, banner] = await Promise.all(
|
||||
@ -607,7 +607,7 @@ export async function updatePerson(
|
||||
updateUsertags(user, tags);
|
||||
|
||||
// Mentions update
|
||||
await UserProfiles.updateMentions(user!.id);
|
||||
UserProfiles.updateMentions(user!.id);
|
||||
|
||||
// If the user in question is a follower, followers will also be updated.
|
||||
await Followings.update(
|
||||
|
Loading…
Reference in New Issue
Block a user