Skip to content
This repository has been archived by the owner on Apr 17, 2024. It is now read-only.

Commit

Permalink
In this server all accounts are bots
Browse files Browse the repository at this point in the history
  • Loading branch information
rafaelcaricio committed Apr 24, 2023
1 parent 47529ff commit 272d068
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/mastodon_api/accounts/types.rs
Original file line number Diff line number Diff line change
Expand Up @@ -91,11 +91,12 @@ pub struct Account {
pub acct: String,
pub url: String,
pub display_name: Option<String>,
pub locked: bool,
pub bot: bool,
pub created_at: DateTime<Utc>,
pub note: Option<String>,
pub avatar: Option<String>,
pub header: Option<String>,
pub locked: bool,
pub identity_proofs: Vec<AccountField>,
pub payment_options: Vec<AccountPaymentOption>,
pub fields: Vec<AccountField>,
Expand Down Expand Up @@ -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,
Expand Down

0 comments on commit 272d068

Please sign in to comment.