Fix .punyHost
misuse
This commit is contained in:
parent
757d9aa5ee
commit
6027b516e1
@ -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}`);
|
||||
|
Loading…
Reference in New Issue
Block a user