]> Untitled Git - lemmy.git/commit
Post remove delete federation outbound fix0 (#3613)
authorRocketDerp <113625597+RocketDerp@users.noreply.github.com>
Mon, 17 Jul 2023 15:07:45 +0000 (08:07 -0700)
committerGitHub <noreply@github.com>
Mon, 17 Jul 2023 15:07:45 +0000 (11:07 -0400)
commit38c621091273822f798dfd75046b9ce724cf4bc1
treebc763c1ac578616c5a389e3f0a868a97257869e8
parent0ada7dc889eb47efe32b59ef53d94f78a6b0827f
Post remove delete federation outbound fix0 (#3613)

* add new function build_post_response_deleted_allowed

* PostDelete uses new function build_post_response_deleted_allowed

* RemovePost uses new build_post_response_deleted_allowed function

* code comments about mod or admin flag having other use

* reformat "cargo +nightly fmt --all"
crates/api_common/src/build_response.rs
crates/api_crud/src/post/delete.rs
crates/api_crud/src/post/remove.rs
crates/db_views/src/post_view.rs