merge: Fix .punyHost misuse (!765)

View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/765
This commit is contained in:
Julia 2024-11-21 02:26:43 +00:00
commit a38d8a91a1

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}`);