fix: use existing id if checkHeader returns false

This commit is contained in:
Julian Lam
2025-09-04 11:20:17 -04:00
parent 0c48e0e909
commit e6996846ac

View File

@@ -63,7 +63,7 @@ Notes.assert = async (uid, input, options = { skipChecks: false }) => {
return null;
}
id = await activitypub.checkHeader(id);
id = (await activitypub.checkHeader(id)) || id;
let chain;
let context = await activitypub.contexts.get(uid, id);