lemmy/crates/db_schema
Dessalines 7eec8714d7
When site banning a federated user, also remove their content from our local communities. (#4464)
* When banning a federated user, also remove their content from our local
communities.

- This works by:
  - Before a site ban, find all posts and comments to local communities
  - Send a federated community ban action for each local comm.
  - This also removes their content in the apub receive code.
- Adding back in federated community ban api tests.
- Adding in two more api tests for site bans.
- Fixes #4118

* Add local community ban, and nonlocal person check.

* Ignoring errors.

* Move local check into function.

* Addressing PR comments 2
2024-03-01 13:45:06 -05:00
..
src When site banning a federated user, also remove their content from our local communities. (#4464) 2024-03-01 13:45:06 -05:00
Cargo.toml Remove error-type feature from lemmy-utils (#4474) 2024-02-27 11:13:52 -05:00