diff options
author | 2021-08-23 12:46:05 +0200 | |
---|---|---|
committer | 2021-08-23 12:46:05 +0200 | |
commit | 071eca20ce9527153ed2e549f6198aad32380495 (patch) | |
tree | 958c75f403655b5fedabb20f5e431386798f02b2 /vendor/github.com/go-fed/activity/streams/gen_manager.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 'vendor/github.com/go-fed/activity/streams/gen_manager.go')
-rw-r--r-- | vendor/github.com/go-fed/activity/streams/gen_manager.go | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/vendor/github.com/go-fed/activity/streams/gen_manager.go b/vendor/github.com/go-fed/activity/streams/gen_manager.go index aab758b78..0f933e1fd 100644 --- a/vendor/github.com/go-fed/activity/streams/gen_manager.go +++ b/vendor/github.com/go-fed/activity/streams/gen_manager.go @@ -41,6 +41,7 @@ import ( propertylikes "github.com/go-fed/activity/streams/impl/activitystreams/property_likes" propertylocation "github.com/go-fed/activity/streams/impl/activitystreams/property_location" propertylongitude "github.com/go-fed/activity/streams/impl/activitystreams/property_longitude" + propertymanuallyapprovesfollowers "github.com/go-fed/activity/streams/impl/activitystreams/property_manuallyapprovesfollowers" propertymediatype "github.com/go-fed/activity/streams/impl/activitystreams/property_mediatype" propertyname "github.com/go-fed/activity/streams/impl/activitystreams/property_name" propertynext "github.com/go-fed/activity/streams/impl/activitystreams/property_next" @@ -1323,6 +1324,20 @@ func (this Manager) DeserializeLongitudePropertyActivityStreams() func(map[strin } } +// DeserializeManuallyApprovesFollowersPropertyActivityStreams returns the +// deserialization method for the +// "ActivityStreamsManuallyApprovesFollowersProperty" non-functional property +// in the vocabulary "ActivityStreams" +func (this Manager) DeserializeManuallyApprovesFollowersPropertyActivityStreams() func(map[string]interface{}, map[string]string) (vocab.ActivityStreamsManuallyApprovesFollowersProperty, error) { + return func(m map[string]interface{}, aliasMap map[string]string) (vocab.ActivityStreamsManuallyApprovesFollowersProperty, error) { + i, err := propertymanuallyapprovesfollowers.DeserializeManuallyApprovesFollowersProperty(m, aliasMap) + if i == nil { + return nil, err + } + return i, err + } +} + // DeserializeMediaTypePropertyActivityStreams returns the deserialization method // for the "ActivityStreamsMediaTypeProperty" non-functional property in the // vocabulary "ActivityStreams" |