use crate::{
objects::person::ApubPerson,
- protocol::{objects::Endpoints, ImageObject, SourceCompat},
+ protocol::{objects::Endpoints, ImageObject, Source},
};
use chrono::{DateTime, FixedOffset};
use lemmy_apub_lib::{object_id::ObjectId, signatures::PublicKey};
/// displayname
pub(crate) name: Option<String>,
pub(crate) summary: Option<String>,
- pub(crate) source: Option<SourceCompat>,
+ #[serde(default)]
+ #[serde(deserialize_with = "crate::deserialize_skip_error")]
+ pub(crate) source: Option<Source>,
/// user avatar
pub(crate) icon: Option<ImageObject>,
/// user banner