add Discoverable and Source on Account

This commit is contained in:
Rasmus Lindroth 2022-05-17 19:35:39 +02:00 committed by mattn
parent 87278bda2e
commit c6a292132e

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.