You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
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.
3 years ago
..
create.rs User / community blocking. Fixes #426 (#1604) 3 years ago
delete.rs Rewrite delete activities (#1699) 3 years ago
mod.rs Split api crate into api_structs and api 3 years ago
read.rs Blank out extra info for deleted or removed content. Fixes #1679 (#1680) 3 years ago
update.rs Rewrite delete activities (#1699) 3 years ago