Skip to content
Snippets Groups Projects
Verified Commit 6027b516 authored by Julia's avatar Julia
Browse files

Fix `.punyHost` misuse

parent 757d9aa5
No related branches found
No related tags found
No related merge requests found
......@@ -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}`);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment