mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-26 08:36:12 +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,
|
||||
deletedTimestamp: Date.now(),
|
||||
}),
|
||||
api.activitypub.announce.delete({ uid }, { tid }),
|
||||
]);
|
||||
|
||||
await categories.updateRecentTidForCid(cid);
|
||||
|
||||
Reference in New Issue
Block a user