diff options
author | 2024-02-20 18:50:54 +0100 | |
---|---|---|
committer | 2024-02-20 17:50:54 +0000 | |
commit | 8cafa6b74b81fd8f0e5730007acdabd4c4e98944 (patch) | |
tree | bdea20d2bf47ed76c95b3f98e735d87112cc1e95 /internal/gtsmodel/account.go | |
parent | [bugfix] use start + end line in regex when validating emoji via API (#2671) (diff) | |
download | gotosocial-8cafa6b74b81fd8f0e5730007acdabd4c4e98944.tar.xz |
[feature] Add `requested_by` to relationship model (#2672)
* [feature] Add `requested_by` to relationship model
* whoops, missed some tests
Diffstat (limited to 'internal/gtsmodel/account.go')
-rw-r--r-- | internal/gtsmodel/account.go | 3 |
1 files changed, 2 insertions, 1 deletions
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. |