Check if post or comment are deleted first. Fixes #1864 (#1867)
authorDessalines <dessalines@users.noreply.github.com>
Wed, 3 Nov 2021 17:47:24 +0000 (13:47 -0400)
committerGitHub <noreply@github.com>
Wed, 3 Nov 2021 17:47:24 +0000 (17:47 +0000)
commita83113935d824d86d3e5000db50c10c44d84f8d0
treeb6f1049e933dfc15cb2925d6921eb0a4c09cd43c
parent1bec551945a310cd34539da80e2f5e4139be32af
Check if post or comment are deleted first. Fixes #1864 (#1867)

* Check if post or comment are deleted first. Fixes #1864

* Refactoring delete apub.

* Revert "Refactoring delete apub."

This reverts commit ba2c3d06cfb870efe792f4b2541036265b425156.
crates/api_crud/src/comment/delete.rs
crates/api_crud/src/post/delete.rs
crates/apub/src/activities/deletion/delete.rs
crates/apub/src/activities/deletion/mod.rs
crates/apub/src/activities/deletion/undo_delete.rs
crates/apub/src/objects/comment.rs
crates/apub/src/objects/post.rs