mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-11-20 05:47:29 -06:00
parse funkwhale / bandwagon album as statusable
This commit is contained in:
parent
728c1289f3
commit
c1fd23438d
8 changed files with 171 additions and 43 deletions
|
|
@ -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
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue