fix(activitypub-base): populate avatar_url, bio, banner from fetched actor JSON
Some checks failed
lint / lint (push) Has been cancelled
test / unit (push) Has been cancelled
test / integration (push) Has been cancelled
lint / lint (pull_request) Failing after 9m46s
test / unit (pull_request) Failing after 11m36s
test / integration (pull_request) Failing after 17m47s

This commit is contained in:
2026-05-14 21:45:55 +02:00
parent 908789e639
commit 0c4df36b95

View File

@@ -298,9 +298,9 @@ impl Object for DbActor {
following_url, following_url,
ap_id, ap_id,
last_refreshed_at: Utc::now(), last_refreshed_at: Utc::now(),
bio: None, bio: json.summary.clone(),
avatar_url: None, avatar_url: json.icon.as_ref().map(|i| i.url.clone()),
banner_url: None, banner_url: json.image.as_ref().map(|i| i.url.clone()),
also_known_as: None, also_known_as: None,
profile_url: None, profile_url: None,
attachment: vec![], attachment: vec![],