Merge 8256cf8596
into f0fb3a56a8
This commit is contained in:
commit
076c22f1d6
|
@ -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