Update types (add Muted to Status entity)
Revert MutingBoosts change (not implemented in Mastodon AFAICS).
--- 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"`