mirror of
https://activitypub.software/TransFem-org/Sharkey.git
synced 2025-03-13 14:38:20 +01: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;
|
||||
}
|
||||
|
||||
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…
Add table
Reference in a new issue