feat: call announceObject on topic fork, #13215

This commit is contained in:
Julian Lam
2025-03-03 11:54:23 -05:00
parent deb5ee5e01
commit e3edfef865
2 changed files with 8 additions and 0 deletions

View File

@@ -83,6 +83,12 @@ describe('FEPs', () => {
);
assert.strictEqual(activitypub._sent.size, 1);
const key = Array.from(activitypub._sent.keys())[0];
const activity = activitypub._sent.get(key);
assert(activity);
assert.strictEqual(activity.object, `${nconf.get('url')}/post/${reply1Pid}`);
});
});
});