mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-10-29 13:42:24 -05:00
[feature] Parse funkwhale Album as Statusable to allow barebones interacting with bandwagon (#3931)
* bump activity version * parse funkwhale / bandwagon album as statusable
This commit is contained in:
parent
4af8d1a2cb
commit
27171a78de
131 changed files with 26449 additions and 3098 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue