mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-01 19:46:01 +01:00
feat: federate topic deletion on topic deletion as well as purge
This commit is contained in:
@@ -25,6 +25,7 @@ module.exports = function (Topics) {
|
|||||||
deleterUid: uid,
|
deleterUid: uid,
|
||||||
deletedTimestamp: Date.now(),
|
deletedTimestamp: Date.now(),
|
||||||
}),
|
}),
|
||||||
|
api.activitypub.announce.delete({ uid }, { tid }),
|
||||||
]);
|
]);
|
||||||
|
|
||||||
await categories.updateRecentTidForCid(cid);
|
await categories.updateRecentTidForCid(cid);
|
||||||
|
|||||||
Reference in New Issue
Block a user