diff --git a/packages/backend/src/remote/activitypub/db-resolver.ts b/packages/backend/src/remote/activitypub/db-resolver.ts index 7f913de0b..dc1b47fef 100644 --- a/packages/backend/src/remote/activitypub/db-resolver.ts +++ b/packages/backend/src/remote/activitypub/db-resolver.ts @@ -62,9 +62,11 @@ export class DbResolver { id: parsed.id, }); } else { - return await Notes.findOneBy({ + return await Notes.findOneBy([{ uri: parsed.uri, - }); + }, { + url: parsed.uri, + }]); } }