This commit is contained in:
anatawa12 2025-09-21 15:56:01 +09:00 committed by GitHub
commit 1406251ec9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 0 deletions

View File

@ -776,6 +776,8 @@ export class ActivityPubServerService {
}
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({
usernameLower: acct.username.toLowerCase(),