diff --git a/crates/adapters/activitypub-base/src/actors.rs b/crates/adapters/activitypub-base/src/actors.rs index cedf7c8..f50364b 100644 --- a/crates/adapters/activitypub-base/src/actors.rs +++ b/crates/adapters/activitypub-base/src/actors.rs @@ -301,9 +301,16 @@ impl Object for DbActor { bio: json.summary.clone(), avatar_url: json.icon.as_ref().map(|i| i.url.clone()), banner_url: json.image.as_ref().map(|i| i.url.clone()), - also_known_as: None, - profile_url: None, - attachment: vec![], + also_known_as: json.also_known_as.into_iter().next(), + profile_url: json.url.clone(), + attachment: json + .attachment + .iter() + .map(|f| crate::user::ApProfileField { + name: f.name.clone(), + value: f.value.clone(), + }) + .collect(), }) } }