Skip to content

Commit

Permalink
Fix .punyHost misuse
Browse files Browse the repository at this point in the history
  • Loading branch information
K4rakara committed Nov 21, 2024
1 parent 757d9aa commit 6027b51
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/backend/src/core/RemoteUserResolveService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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}`);
Expand Down

0 comments on commit 6027b51

Please sign in to comment.