Merge branch 'develop' into activitypub

This commit is contained in:
Barış Soner Uşaklı
2024-11-14 10:53:51 -05:00
408 changed files with 3110 additions and 618 deletions

View File

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