コメント

This commit is contained in:
kakkokari-gtyih 2024-07-25 17:10:56 +09:00
parent 3de48a2a3d
commit a9c93331cc
1 changed files with 10 additions and 0 deletions

View File

@ -454,6 +454,16 @@ export class ApRendererService {
const id = this.userEntityService.genLocalUserUri(user.id); const id = this.userEntityService.genLocalUserUri(user.id);
const isSystem = user.username.includes('.'); const isSystem = user.username.includes('.');
/**
* profile
*
* i/updateで虚無を連合するのを防止するための処理に伴い
* 使使
* asを使っている
*
* See https://github.com/misskey-dev/misskey/pull/14301
*/
const [avatar, banner, profile] = await Promise.all([ const [avatar, banner, profile] = await Promise.all([
user.avatarId ? this.driveFilesRepository.findOneBy({ id: user.avatarId }) : undefined, user.avatarId ? this.driveFilesRepository.findOneBy({ id: user.avatarId }) : undefined,
user.bannerId ? this.driveFilesRepository.findOneBy({ id: user.bannerId }) : undefined, user.bannerId ? this.driveFilesRepository.findOneBy({ id: user.bannerId }) : undefined,