refactor: move all methods in src/api/activitypub.js to src/activitypub.out.js

This commit is contained in:
Julian Lam
2025-10-22 12:51:50 -04:00
parent bb34b8c7a3
commit 3ede64d8a1
18 changed files with 364 additions and 451 deletions

View File

@@ -265,7 +265,7 @@ Notes.assert = async (uid, input, options = { skipChecks: false }) => {
if (!hasTid && options.cid) {
// New topic, have category announce it
api.activitypub.announce.category({}, { tid });
activitypub.out.announce.category(tid);
}
return { tid, count };