# HG changeset patch # User Mikael Berthe # Date 1495826514 -7200 # Node ID faa72b9877c587fae207162e1c5640f555db0e5a # Parent 546db8bb5867d7de50c1967bc4dc710040b18fc9 Update types (add Muted to Status entity) Revert MutingBoosts change (not implemented in Mastodon AFAICS). diff -r 546db8bb5867 -r faa72b9877c5 types.go --- a/types.go Fri May 26 12:03:29 2017 +0200 +++ b/types.go Fri May 26 21:21:54 2017 +0200 @@ -107,13 +107,12 @@ // Relationship represents a Mastodon relationship entity type Relationship struct { - ID int64 `json:"id"` - Following bool `json:"following"` - FollowedBy bool `json:"followed_by"` - Blocking bool `json:"blocking"` - Muting bool `json:"muting"` - MutingBoosts bool `json:"muting_boosts"` - Requested bool `json:"requested"` + ID int64 `json:"id"` + Following bool `json:"following"` + FollowedBy bool `json:"followed_by"` + Blocking bool `json:"blocking"` + Muting bool `json:"muting"` + Requested bool `json:"requested"` } // Report represents a Mastodon report entity @@ -144,6 +143,7 @@ FavouritesCount int64 `json:"favourites_count"` Reblogged bool `json:"reblogged"` Favourited bool `json:"favourited"` + Muted bool `json:"muted"` Sensitive bool `json:"sensitive"` SpoilerText string `json:"spoiler_text"` Visibility string `json:"visibility"`