diff --git a/src/mastodon_api/accounts/types.rs b/src/mastodon_api/accounts/types.rs index db353d9..0182cb4 100644 --- a/src/mastodon_api/accounts/types.rs +++ b/src/mastodon_api/accounts/types.rs @@ -91,11 +91,12 @@ pub struct Account { pub acct: String, pub url: String, pub display_name: Option, + pub locked: bool, + pub bot: bool, pub created_at: DateTime, pub note: Option, pub avatar: Option, pub header: Option, - pub locked: bool, pub identity_proofs: Vec, pub payment_options: Vec, pub fields: Vec, @@ -185,11 +186,12 @@ impl Account { acct: profile.acct, url: profile_url, display_name: profile.display_name, + locked: profile.manually_approves_followers, + bot: true, created_at: profile.created_at, note: profile.bio, avatar: avatar_url, header: header_url, - locked: profile.manually_approves_followers, identity_proofs, payment_options, fields: extra_fields,