[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:
tobi 2025-03-24 11:56:42 +01:00 committed by GitHub
commit 27171a78de
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
131 changed files with 26449 additions and 3098 deletions

View file

@ -153,7 +153,9 @@ func serializeStatusable(t vocab.Type, includeContext bool) (map[string]interfac
NormalizeOutgoingAttachmentProp(statusable, data)
NormalizeOutgoingContentProp(statusable, data)
NormalizeOutgoingInteractionPolicyProp(statusable, data)
if ipa, ok := statusable.(InteractionPolicyAware); ok {
NormalizeOutgoingInteractionPolicyProp(ipa, data)
}
return data, nil
}