Fix `.punyHost` misuse

This commit is contained in:
Julia Johannesen 2024-11-20 21:24:35 -05:00
parent 757d9aa5ee
commit 6027b516e1
No known key found for this signature in database
GPG Key ID: 4A1377AF3E7FBC46
1 changed files with 1 additions and 1 deletions

View File

@ -54,7 +54,7 @@ export class RemoteUserResolveService {
}) as MiLocalUser;
}
host = this.utilityService.punyHost(host);
host = this.utilityService.toPuny(host);
if (host === this.utilityService.toPuny(this.config.host)) {
this.logger.info(`return local user: ${usernameLower}`);