mirror of
https://git.joinplu.me/Plume/Plume.git
synced 2025-01-11 05:35:24 +00:00
Allow the summary
property to be absent from AP Actors
This commit is contained in:
parent
782955e2c4
commit
9701340c84
1 changed files with 1 additions and 1 deletions
|
@ -190,7 +190,7 @@ impl User {
|
|||
outbox_url: acct.object.ap_actor_props.outbox_string().expect("User::from_activity: outbox error"),
|
||||
inbox_url: acct.object.ap_actor_props.inbox_string().expect("User::from_activity: inbox error"),
|
||||
is_admin: false,
|
||||
summary: SafeString::new(&acct.object.object_props.summary_string().expect("User::from_activity: summary error")),
|
||||
summary: SafeString::new(&acct.object.object_props.summary_string().unwrap_or(String::new())),
|
||||
email: None,
|
||||
hashed_password: None,
|
||||
instance_id: instance.id,
|
||||
|
|
Loading…
Reference in a new issue