mirror of
https://github.com/misskey-dev/misskey.git
synced 2026-08-04 14:26:17 +00:00
Merge branch 'develop' into room
This commit is contained in:
@@ -777,6 +777,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(),
|
||||
|
||||
Reference in New Issue
Block a user