From ae7d17d1214614d6fa2c2c33140b77d06abf1729 Mon Sep 17 00:00:00 2001 From: syuilo Date: Sun, 5 Mar 2023 11:11:36 +0900 Subject: [PATCH] fix of b9a3b2c165 --- packages/backend/src/core/entities/UserEntityService.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/backend/src/core/entities/UserEntityService.ts b/packages/backend/src/core/entities/UserEntityService.ts index 78129d32a..363564321 100644 --- a/packages/backend/src/core/entities/UserEntityService.ts +++ b/packages/backend/src/core/entities/UserEntityService.ts @@ -298,7 +298,7 @@ export class UserEntityService implements OnModuleInit { @bindThis public getIdenticonUrl(user: User): string { - return `${this.config.url}/identicon/${user.usernameLower}@${user.host ?? this.config.host}`; + return `${this.config.url}/identicon/${user.username.toLowerCase()}@${user.host ?? this.config.host}`; } public async pack(