[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

@ -200,7 +200,8 @@ type Relationship struct {
BlockedBy bool // Is this user blocking you?
Muting bool // Are you muting this user?
MutingNotifications bool // Are you muting notifications from this user?
Requested bool // Do you have a pending follow request for this user?
Requested bool // Do you have a pending follow request targeting this user?
RequestedBy bool // Does the user have a pending follow request targeting you?
DomainBlocking bool // Are you blocking this user's domain?
Endorsed bool // Are you featuring this user on your profile?
Note string // Your note on this account.