diff options
author | 2021-08-23 12:46:05 +0200 | |
---|---|---|
committer | 2021-08-23 12:46:05 +0200 | |
commit | 071eca20ce9527153ed2e549f6198aad32380495 (patch) | |
tree | 958c75f403655b5fedabb20f5e431386798f02b2 /internal/ap/interfaces.go | |
parent | Database updates (#144) (diff) | |
download | gotosocial-071eca20ce9527153ed2e549f6198aad32380495.tar.xz |
Manually approves followers (#146)
* update go-fed
* update go-fed
* manuallyapprovesfollowers
* serialize manuallyApprovesFollowers
Diffstat (limited to 'internal/ap/interfaces.go')
-rw-r--r-- | internal/ap/interfaces.go | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/internal/ap/interfaces.go b/internal/ap/interfaces.go index 43dd149d5..a20f39bd2 100644 --- a/internal/ap/interfaces.go +++ b/internal/ap/interfaces.go @@ -39,6 +39,7 @@ type Accountable interface { WithFollowing WithFollowers WithFeatured + WithManuallyApprovesFollowers } // Statusable represents the minimum activitypub interface for representing a 'status'. @@ -319,3 +320,8 @@ type WithPartOf interface { type WithItems interface { GetActivityStreamsItems() vocab.ActivityStreamsItemsProperty } + +// WithManuallyApprovesFollowers represents a Person or profile with the ManuallyApprovesFollowers property. +type WithManuallyApprovesFollowers interface { + GetActivityStreamsManuallyApprovesFollowers() vocab.ActivityStreamsManuallyApprovesFollowersProperty +} |