add Discoverable and Source on Account

pull/149/head
Rasmus Lindroth 2022-05-17 19:35:39 +02:00 committed by mattn
parent 87278bda2e
commit c6a292132e
1 changed files with 21 additions and 19 deletions

View File

@ -30,6 +30,8 @@ type Account struct {
Moved *Account `json:"moved"` Moved *Account `json:"moved"`
Fields []Field `json:"fields"` Fields []Field `json:"fields"`
Bot bool `json:"bot"` Bot bool `json:"bot"`
Discoverable bool `json:"discoverable"`
Source *AccountSource `json:"source"`
} }
// Field is a Mastodon account profile field. // Field is a Mastodon account profile field.