From 071eca20ce9527153ed2e549f6198aad32380495 Mon Sep 17 00:00:00 2001 From: tobi <31960611+tsmethurst@users.noreply.github.com> Date: Mon, 23 Aug 2021 12:46:05 +0200 Subject: Manually approves followers (#146) * update go-fed * update go-fed * manuallyapprovesfollowers * serialize manuallyApprovesFollowers --- internal/ap/interfaces.go | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'internal/ap/interfaces.go') 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 +} -- cgit v1.2.3