mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-03-07 04:51:26 +01:00
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:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user