mirror of
https://activitypub.software/TransFem-org/Sharkey
synced 2024-11-30 18:03:04 +00:00
merge: Fix .punyHost
misuse (!765)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/765
This commit is contained in:
commit
a38d8a91a1
1 changed files with 1 additions and 1 deletions
|
@ -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}`);
|
||||||
|
|
Loading…
Reference in a new issue