lemmy/crates/api_crud/src/private_message
Dessalines 2016afc9db
User / community blocking. Fixes #426 (#1604)
* A first pass at user / community blocking. #426

* Adding unit tests for person and community block.

* Moving migration

* Fixing creator_blocked for comment queries, added tests.

* Don't let a person block themselves

* Fix post creator_blocked

* Adding creator_blocked to PersonMentionView

* Moving blocked and follows to MyUserInfo

* Rename to local_user_view

* Add moderates to MyUserInfo

* Adding BlockCommunityResponse

* Fixing name, and check_person_block

* Fixing tests.

* Using type in Blockable trait.

* Changing recipient to target, adding unfollow to block action.
2021-08-19 20:54:15 +00:00
..
create.rs User / community blocking. Fixes #426 (#1604) 2021-08-19 20:54:15 +00:00
delete.rs Rewrite delete activities (#1699) 2021-08-17 14:04:58 -04:00
mod.rs Split api crate into api_structs and api 2021-03-25 20:19:40 +01:00
read.rs Blank out extra info for deleted or removed content. Fixes #1679 (#1680) 2021-07-30 18:44:15 +00:00
update.rs Rewrite delete activities (#1699) 2021-08-17 14:04:58 -04:00