summaryrefslogtreecommitdiff
path: root/vendor/codeberg.org/superseriousbusiness/activity/streams/gen_resolver_utils.go
diff options
context:
space:
mode:
authorLibravatar tobi <31960611+tsmethurst@users.noreply.github.com>2025-03-24 11:56:42 +0100
committerLibravatar GitHub <noreply@github.com>2025-03-24 10:56:42 +0000
commit27171a78ded38a7142aecfcaa75ede86f73b7a5b (patch)
tree6468899981ba4f6fd78cd95544ed1ded34120437 /vendor/codeberg.org/superseriousbusiness/activity/streams/gen_resolver_utils.go
parent[chore]: Bump github.com/golang-jwt/jwt/v5 from 5.2.1 to 5.2.2 (#3927) (diff)
downloadgotosocial-27171a78ded38a7142aecfcaa75ede86f73b7a5b.tar.xz
[feature] Parse funkwhale `Album` as Statusable to allow barebones interacting with bandwagon (#3931)
* bump activity version * parse funkwhale / bandwagon album as statusable
Diffstat (limited to 'vendor/codeberg.org/superseriousbusiness/activity/streams/gen_resolver_utils.go')
-rw-r--r--vendor/codeberg.org/superseriousbusiness/activity/streams/gen_resolver_utils.go12
1 files changed, 12 insertions, 0 deletions
diff --git a/vendor/codeberg.org/superseriousbusiness/activity/streams/gen_resolver_utils.go b/vendor/codeberg.org/superseriousbusiness/activity/streams/gen_resolver_utils.go
index a08c8f68c..6e90035e7 100644
--- a/vendor/codeberg.org/superseriousbusiness/activity/streams/gen_resolver_utils.go
+++ b/vendor/codeberg.org/superseriousbusiness/activity/streams/gen_resolver_utils.go
@@ -55,6 +55,9 @@ func ToType(c context.Context, m map[string]interface{}) (t vocab.Type, err erro
}, func(ctx context.Context, i vocab.ActivityStreamsAdd) error {
t = i
return nil
+ }, func(ctx context.Context, i vocab.FunkwhaleAlbum) error {
+ t = i
+ return nil
}, func(ctx context.Context, i vocab.ActivityStreamsAnnounce) error {
t = i
return nil
@@ -70,6 +73,9 @@ func ToType(c context.Context, m map[string]interface{}) (t vocab.Type, err erro
}, func(ctx context.Context, i vocab.ActivityStreamsArticle) error {
t = i
return nil
+ }, func(ctx context.Context, i vocab.FunkwhaleArtist) error {
+ t = i
+ return nil
}, func(ctx context.Context, i vocab.ActivityStreamsAudio) error {
t = i
return nil
@@ -148,6 +154,9 @@ func ToType(c context.Context, m map[string]interface{}) (t vocab.Type, err erro
}, func(ctx context.Context, i vocab.ActivityStreamsLeave) error {
t = i
return nil
+ }, func(ctx context.Context, i vocab.FunkwhaleLibrary) error {
+ t = i
+ return nil
}, func(ctx context.Context, i vocab.ActivityStreamsLike) error {
t = i
return nil
@@ -232,6 +241,9 @@ func ToType(c context.Context, m map[string]interface{}) (t vocab.Type, err erro
}, func(ctx context.Context, i vocab.ActivityStreamsTombstone) error {
t = i
return nil
+ }, func(ctx context.Context, i vocab.FunkwhaleTrack) error {
+ t = i
+ return nil
}, func(ctx context.Context, i vocab.ActivityStreamsTravel) error {
t = i
return nil