In this server all accounts are bots

This commit is contained in:
Rafael Caricio 2023-04-24 18:57:48 +02:00
parent 47529ff703
commit 272d06897a
Signed by: rafaelcaricio
GPG key ID: 3C86DBCE8E93C947

View file

@ -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>,
@ -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,