This commit is contained in:
syuilo 2023-03-05 11:11:36 +09:00
parent b9a3b2c165
commit ae7d17d121

View file

@ -298,7 +298,7 @@ export class UserEntityService implements OnModuleInit {
@bindThis @bindThis
public getIdenticonUrl(user: User): string { 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<ExpectsMe extends boolean | null = null, D extends boolean = false>( public async pack<ExpectsMe extends boolean | null = null, D extends boolean = false>(