diff --git a/mastodon/accounts.go b/mastodon/accounts.go index df0a3b7..dbd0a48 100644 --- a/mastodon/accounts.go +++ b/mastodon/accounts.go @@ -189,6 +189,7 @@ type Relationship struct { Following bool `json:"following"` FollowedBy bool `json:"followed_by"` Blocking bool `json:"blocking"` + BlockedBy bool `json:"blocked_by"` Muting bool `json:"muting"` MutingNotifications bool `json:"muting_notifications"` Subscribing bool `json:"subscribing"` diff --git a/templates/user.tmpl b/templates/user.tmpl index dccce7c..5342efe 100644 --- a/templates/user.tmpl +++ b/templates/user.tmpl @@ -20,6 +20,7 @@ {{if not .IsCurrent}}
{{if .User.Pleroma.Relationship.FollowedBy}} follows you - {{end}} + {{if .User.Pleroma.Relationship.BlockedBy}} blocks you - {{end}} {{if .User.Pleroma.Relationship.Following}}