summaryrefslogtreecommitdiff
path: root/vendor/github.com/superseriousbusiness/activity/streams/gen_resolver_utils.go
diff options
context:
space:
mode:
authorLibravatar tobi <31960611+tsmethurst@users.noreply.github.com>2024-07-06 15:57:11 +0200
committerLibravatar GitHub <noreply@github.com>2024-07-06 15:57:11 +0200
commit1a66ea8998e984574b05f2ede57e017801d5926b (patch)
treeae48c96918eac7960f79270e8fe05616940d2669 /vendor/github.com/superseriousbusiness/activity/streams/gen_resolver_utils.go
parent[chore] Update ncruces/go-sqlite3 to 0.17 (#3072) (diff)
downloadgotosocial-1a66ea8998e984574b05f2ede57e017801d5926b.tar.xz
[chore] upstep activity to v1.7.0-gts (#3074)
Diffstat (limited to 'vendor/github.com/superseriousbusiness/activity/streams/gen_resolver_utils.go')
-rw-r--r--vendor/github.com/superseriousbusiness/activity/streams/gen_resolver_utils.go12
1 files changed, 12 insertions, 0 deletions
diff --git a/vendor/github.com/superseriousbusiness/activity/streams/gen_resolver_utils.go b/vendor/github.com/superseriousbusiness/activity/streams/gen_resolver_utils.go
index 8af20ab1a..42004e57b 100644
--- a/vendor/github.com/superseriousbusiness/activity/streams/gen_resolver_utils.go
+++ b/vendor/github.com/superseriousbusiness/activity/streams/gen_resolver_utils.go
@@ -73,6 +73,15 @@ func ToType(c context.Context, m map[string]interface{}) (t vocab.Type, err erro
}, func(ctx context.Context, i vocab.ActivityStreamsBlock) error {
t = i
return nil
+ }, func(ctx context.Context, i vocab.GoToSocialCanAnnounce) error {
+ t = i
+ return nil
+ }, func(ctx context.Context, i vocab.GoToSocialCanLike) error {
+ t = i
+ return nil
+ }, func(ctx context.Context, i vocab.GoToSocialCanReply) error {
+ t = i
+ return nil
}, func(ctx context.Context, i vocab.ActivityStreamsCollection) error {
t = i
return nil
@@ -121,6 +130,9 @@ func ToType(c context.Context, m map[string]interface{}) (t vocab.Type, err erro
}, func(ctx context.Context, i vocab.ActivityStreamsImage) error {
t = i
return nil
+ }, func(ctx context.Context, i vocab.GoToSocialInteractionPolicy) error {
+ t = i
+ return nil
}, func(ctx context.Context, i vocab.ActivityStreamsIntransitiveActivity) error {
t = i
return nil