feat: update Remove(Context) to use target instead of origin, federate out Move(Context) on topic move between local cids

This commit is contained in:
Julian Lam
2025-10-22 15:04:47 -04:00
parent 3ede64d8a1
commit d02e188a5f
4 changed files with 49 additions and 13 deletions

View File

@@ -326,7 +326,7 @@ topicsAPI.move = async (caller, { tid, cid }) => {
activitypub.out.remove.context(caller.uid, tid);
// tbd: activitypubApi.undo.announce?
} else {
// tbd: activitypubApi.move
activitypub.out.move.context(caller.uid, tid);
activitypub.out.announce.category(tid);
}
}