diff options
Diffstat (limited to 'internal/api')
-rw-r--r-- | internal/api/client/followrequests/authorize_test.go | 1 | ||||
-rw-r--r-- | internal/api/client/followrequests/reject_test.go | 1 | ||||
-rw-r--r-- | internal/api/model/relationship.go | 2 |
3 files changed, 4 insertions, 0 deletions
diff --git a/internal/api/client/followrequests/authorize_test.go b/internal/api/client/followrequests/authorize_test.go index 5adb7be86..4c0617958 100644 --- a/internal/api/client/followrequests/authorize_test.go +++ b/internal/api/client/followrequests/authorize_test.go @@ -92,6 +92,7 @@ func (suite *AuthorizeTestSuite) TestAuthorize() { "muting": false, "muting_notifications": false, "requested": false, + "requested_by": false, "domain_blocking": false, "endorsed": false, "note": "" diff --git a/internal/api/client/followrequests/reject_test.go b/internal/api/client/followrequests/reject_test.go index 51fd98150..e6837066c 100644 --- a/internal/api/client/followrequests/reject_test.go +++ b/internal/api/client/followrequests/reject_test.go @@ -92,6 +92,7 @@ func (suite *RejectTestSuite) TestReject() { "muting": false, "muting_notifications": false, "requested": false, + "requested_by": false, "domain_blocking": false, "endorsed": false, "note": "" diff --git a/internal/api/model/relationship.go b/internal/api/model/relationship.go index dfb72bfe5..bb80791b3 100644 --- a/internal/api/model/relationship.go +++ b/internal/api/model/relationship.go @@ -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. |