mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-11-02 04:02:24 -06:00
Manually approves followers (#146)
* update go-fed * update go-fed * manuallyapprovesfollowers * serialize manuallyApprovesFollowers
This commit is contained in:
parent
4920229a3b
commit
071eca20ce
44 changed files with 931 additions and 308 deletions
15
vendor/github.com/go-fed/activity/streams/gen_manager.go
generated
vendored
15
vendor/github.com/go-fed/activity/streams/gen_manager.go
generated
vendored
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue