feat: federate topic deletion on topic deletion as well as purge

This commit is contained in:
Julian Lam
2025-10-07 11:35:36 -04:00
parent e29a418cdd
commit 4d24309a06

View File

@@ -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);