mirror of
https://github.com/versia-pub/activitypub.git
synced 2025-12-06 06:38:20 +01:00
fix: add indexable to Lysand user and default it to false
This commit is contained in:
parent
474b57652b
commit
d86abbb97d
|
|
@ -125,6 +125,7 @@ pub async fn lysand_user_from_db(
|
|||
avatar: None,
|
||||
header: None,
|
||||
fields: None,
|
||||
indexable: false,
|
||||
created_at: OffsetDateTime::from_unix_timestamp(user.created_at.timestamp()).unwrap(),
|
||||
public_key: PublicKey {
|
||||
actor: url.clone(),
|
||||
|
|
|
|||
|
|
@ -237,6 +237,7 @@ pub struct User {
|
|||
pub avatar: Option<ContentFormat>,
|
||||
pub header: Option<ContentFormat>,
|
||||
pub fields: Option<Vec<FieldKV>>,
|
||||
pub indexable: bool,
|
||||
}
|
||||
|
||||
#[derive(Debug, Serialize, Deserialize, Clone)]
|
||||
|
|
|
|||
Loading…
Reference in a new issue