diff options
| author | 2025-03-24 11:56:42 +0100 | |
|---|---|---|
| committer | 2025-03-24 10:56:42 +0000 | |
| commit | 27171a78ded38a7142aecfcaa75ede86f73b7a5b (patch) | |
| tree | 6468899981ba4f6fd78cd95544ed1ded34120437 /internal/ap/interfaces.go | |
| parent | [chore]: Bump github.com/golang-jwt/jwt/v5 from 5.2.1 to 5.2.2 (#3927) (diff) | |
| download | gotosocial-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 'internal/ap/interfaces.go')
| -rw-r--r-- | internal/ap/interfaces.go | 11 |
1 files changed, 5 insertions, 6 deletions
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 |
