[feature] Add requested_by to relationship model (#2672)

* [feature] Add `requested_by` to relationship model

* whoops, missed some tests
This commit is contained in:
tobi 2024-02-20 18:50:54 +01:00 committed by GitHub
commit 8cafa6b74b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
9 changed files with 121 additions and 2 deletions

View file

@ -42,6 +42,8 @@ type Relationship struct {
MutingNotifications bool `json:"muting_notifications"`
// You have requested to follow this account, and the request is pending.
Requested bool `json:"requested"`
// This account has requested to follow you, and the request is pending.
RequestedBy bool `json:"requested_by"`
// You are blocking this account's domain.
DomainBlocking bool `json:"domain_blocking"`
// You are featuring this account on your profile.