Revert "feat: changes to how a topic is presented via ActivityPub; conformance with upcoming changes to 7888"

This reverts commit 4fd7a9dc59.
This commit is contained in:
Julian Lam
2025-01-29 14:38:43 -05:00
parent 02fb99ebb6
commit 126ff28612
4 changed files with 31 additions and 61 deletions

View File

@@ -49,7 +49,7 @@ Notes.assert = async (uid, input, options = { skipChecks: false }) => {
const { tid } = context;
return { tid, count: 0 };
} else if (context.context) {
chain = Array.from(await activitypub.contexts.getItems(uid, context.collection, { input }));
chain = Array.from(await activitypub.contexts.getItems(uid, context.context, { input }));
if (chain && chain.length) {
// Context resolves, use in later topic creation
context = context.context;