From 27171a78ded38a7142aecfcaa75ede86f73b7a5b Mon Sep 17 00:00:00 2001 From: tobi <31960611+tsmethurst@users.noreply.github.com> Date: Mon, 24 Mar 2025 11:56:42 +0100 Subject: [feature] Parse funkwhale `Album` as Statusable to allow barebones interacting with bandwagon (#3931) * bump activity version * parse funkwhale / bandwagon album as statusable --- internal/ap/interfaces.go | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'internal/ap/interfaces.go') diff --git a/internal/ap/interfaces.go b/internal/ap/interfaces.go index 0fd982eb8..4c91c57f6 100644 --- a/internal/ap/interfaces.go +++ b/internal/ap/interfaces.go @@ -76,7 +76,8 @@ func IsStatusable(typeName string) bool { ObjectEvent, ObjectPlace, ObjectProfile, - ActivityQuestion: + ActivityQuestion, + ObjectAlbum: return true default: return false @@ -226,11 +227,13 @@ type Statusable interface { WithTo WithCc WithSensitive - WithConversation WithContent WithAttachment WithTag WithReplies +} + +type InteractionPolicyAware interface { WithInteractionPolicy WithApprovedBy } @@ -589,10 +592,6 @@ type WithSensitive interface { SetActivityStreamsSensitive(vocab.ActivityStreamsSensitiveProperty) } -// WithConversation ... -type WithConversation interface { // TODO -} - // WithContent represents an activity with ActivityStreamsContentProperty type WithContent interface { GetActivityStreamsContent() vocab.ActivityStreamsContentProperty -- cgit v1.2.3