Implement instance blocklist #85
Loading…
Reference in New Issue
No description provided.
Delete Branch "instance-blocklist"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Federation tests are passing, and blocklist seems to work fine during manual testing.
@ -101,2 +98,3 @@
Err(anyhow!("{} not in federation allowlist", domain).into())
}
None => Err(anyhow!("federation allowlist is empty").into()),
} else if !blocked_instances.is_empty() {
I suppose we only have 3 scenarios, so an else if is okay here.
Ah I'm not handling the case of empty allowlist and empty blocklist.