fix: accept optional outbox/followers/following and any AP actor type

Person struct now deserializes gracefully when outbox, followers, or
following are absent (Threads omits them for some actors). Accepts
Service/Application/Organization/Group in addition to Person.
manually_approves_followers defaults to false when absent.
This commit is contained in:
2026-05-27 22:37:49 +02:00
parent bc857b2c08
commit 2e3b6d5cd4
4 changed files with 44 additions and 20 deletions

2
Cargo.lock generated
View File

@@ -1368,7 +1368,7 @@ dependencies = [
[[package]]
name = "k-ap"
version = "0.1.0"
version = "0.1.4"
dependencies = [
"activitypub_federation",
"anyhow",