Merge 8256cf8596
into 18d66c0233
This commit is contained in:
commit
1406251ec9
|
@ -776,6 +776,8 @@ export class ActivityPubServerService {
|
||||||
}
|
}
|
||||||
|
|
||||||
const acct = Acct.parse(request.params.acct);
|
const acct = Acct.parse(request.params.acct);
|
||||||
|
// normalize acct host
|
||||||
|
if (this.utilityService.isSelfHost(acct.host)) acct.host = null;
|
||||||
|
|
||||||
const user = await this.usersRepository.findOneBy({
|
const user = await this.usersRepository.findOneBy({
|
||||||
usernameLower: acct.username.toLowerCase(),
|
usernameLower: acct.username.toLowerCase(),
|
||||||
|
|
Loading…
Reference in New Issue