From 8cafa6b74b81fd8f0e5730007acdabd4c4e98944 Mon Sep 17 00:00:00 2001 From: tobi <31960611+tsmethurst@users.noreply.github.com> Date: Tue, 20 Feb 2024 18:50:54 +0100 Subject: [feature] Add `requested_by` to relationship model (#2672) * [feature] Add `requested_by` to relationship model * whoops, missed some tests --- internal/api/model/relationship.go | 2 ++ 1 file changed, 2 insertions(+) (limited to 'internal/api/model/relationship.go') 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. -- cgit v1.2.3