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

View file

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