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/gtsmodel/account.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'internal/gtsmodel/account.go') diff --git a/internal/gtsmodel/account.go b/internal/gtsmodel/account.go index f5b487cc8..5421c41bb 100644 --- a/internal/gtsmodel/account.go +++ b/internal/gtsmodel/account.go @@ -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. -- cgit v1.2.3