mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-03-05 20:11:26 +01:00
Merge branch 'develop' into activitypub
This commit is contained in:
@@ -85,6 +85,7 @@ module.exports = function (Posts) {
|
||||
db.sortedSetsRemove(['posts:pid', 'posts:votes', 'posts:flagged'], pids),
|
||||
Posts.attachments.empty(pids),
|
||||
activitypub.notes.delete(pids),
|
||||
db.deleteAll(pids.map(pid => `pid:${pid}:editors`)),
|
||||
]);
|
||||
|
||||
await resolveFlags(postData, uid);
|
||||
|
||||
Reference in New Issue
Block a user