add comment

This commit is contained in:
Namekuji 2023-08-02 03:37:40 -04:00
parent 4bd610be31
commit 066c6c3efb
No known key found for this signature in database
GPG key ID: 1D62332C07FBA532

View file

@ -532,6 +532,7 @@ export async function updatePerson(
)), )),
...updates, ...updates,
}; };
// Entry in userByIdCache will be updated via the internal event of "remoteUserUpdated"
updatedUser.avatar = avatar; updatedUser.avatar = avatar;
updatedUser.banner = banner; updatedUser.banner = banner;
await userDenormalizedCache.set(updatedUser.id, updatedUser); await userDenormalizedCache.set(updatedUser.id, updatedUser);