diff --git a/packages/backend/src/core/activitypub/models/ApNoteService.ts b/packages/backend/src/core/activitypub/models/ApNoteService.ts index 727f78e42f7e..7758da8b4596 100644 --- a/packages/backend/src/core/activitypub/models/ApNoteService.ts +++ b/packages/backend/src/core/activitypub/models/ApNoteService.ts @@ -162,7 +162,8 @@ export class ApNoteService { const urlHost = this.utilityService.punyHost(url).toLowerCase(); const uriHost = this.utilityService.punyHost(note.id).toLowerCase(); - if (urlHost !== uriHost && !this.meta.mismatchUriHosts.some(x => x === `${urlHost},${uriHost}`)) { + //if (urlHost !== uriHost && !this.meta.mismatchUriHosts.some(x => x === `${urlHost},${uriHost}`)) { + if (this.utilityService.punyHost(url) !== this.utilityService.punyHost(note.id)) { throw new Error(`note url & uri host mismatch: note url: ${url}, note uri: ${note.id}`); } }