+ Ok(())
+ }
+
+ #[tracing::instrument(skip_all)]
+ async fn from_json(
+ person: Person,
+ context: &Data<Self::DataType>,
+ ) -> Result<ApubPerson, LemmyError> {
+ let instance_id = fetch_instance_actor_for_object(&person.id, context).await?;
+
+ let name = sanitize_html(&person.preferred_username);
+ let display_name = sanitize_html_opt(&person.name);
+ let bio = read_from_string_or_source_opt(&person.summary, &None, &person.source);
+ let bio = sanitize_html_opt(&bio);