diff options
author | 2022-09-23 21:27:35 +0200 | |
---|---|---|
committer | 2022-09-23 20:27:35 +0100 | |
commit | 69a193dae543641a2db6823fa6493c02f56fafbd (patch) | |
tree | c1a0c71d64642db12a17c6770642c3e0af859960 /vendor/github.com/superseriousbusiness/activity/streams/gen_pkg_activitystreams_extends.go | |
parent | [docs] NLnet follow up questions (#846) (diff) | |
download | gotosocial-69a193dae543641a2db6823fa6493c02f56fafbd.tar.xz |
[feature] Allow delivery to sharedInboxes where possible (#847)
* update Activity
* add instance-deliver-to-shared-inboxes setting
* update activity version again
* add SharedInboxURI field to accounts
* serdes for endpoints/sharedInbox
* deliver to sharedInbox if one is available
* update tests
* only assign shared inbox if shared domain
* look for shared inbox if currently nil
* go fmt
* finger to get params.RemoteAccountID if necessary
* make comments clearer
* compare dns more consistently
Diffstat (limited to 'vendor/github.com/superseriousbusiness/activity/streams/gen_pkg_activitystreams_extends.go')
-rw-r--r-- | vendor/github.com/superseriousbusiness/activity/streams/gen_pkg_activitystreams_extends.go | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/vendor/github.com/superseriousbusiness/activity/streams/gen_pkg_activitystreams_extends.go b/vendor/github.com/superseriousbusiness/activity/streams/gen_pkg_activitystreams_extends.go index 991ec9deb..79cc10f6b 100644 --- a/vendor/github.com/superseriousbusiness/activity/streams/gen_pkg_activitystreams_extends.go +++ b/vendor/github.com/superseriousbusiness/activity/streams/gen_pkg_activitystreams_extends.go @@ -18,6 +18,7 @@ import ( typedelete "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_delete" typedislike "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_dislike" typedocument "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_document" + typeendpoints "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_endpoints" typeevent "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_event" typeflag "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_flag" typefollow "github.com/superseriousbusiness/activity/streams/impl/activitystreams/type_follow" @@ -150,6 +151,12 @@ func ActivityStreamsActivityStreamsDocumentExtends(other vocab.Type) bool { return typedocument.ActivityStreamsDocumentExtends(other) } +// ActivityStreamsActivityStreamsEndpointsExtends returns true if Endpoints +// extends from the other's type. +func ActivityStreamsActivityStreamsEndpointsExtends(other vocab.Type) bool { + return typeendpoints.ActivityStreamsEndpointsExtends(other) +} + // ActivityStreamsActivityStreamsEventExtends returns true if Event extends from // the other's type. func ActivityStreamsActivityStreamsEventExtends(other vocab.Type) bool { |