mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-05 05:25:49 +01:00
feat: support remote "Video" type objects in note assertion, #13120
- handle array attributedTo (plus per-object actor assertion instead of batched) - explicit "Video" type handling to automatically save URL as post attachment - handle array url property
This commit is contained in:
@@ -37,7 +37,7 @@ ActivityPub._constants = Object.freeze({
|
||||
'application/ld+json; profile="https://www.w3.org/ns/activitystreams"',
|
||||
],
|
||||
acceptedPostTypes: [
|
||||
'Note', 'Page', 'Article', 'Question',
|
||||
'Note', 'Page', 'Article', 'Question', 'Video',
|
||||
],
|
||||
acceptableActorTypes: new Set(['Application', 'Group', 'Organization', 'Person', 'Service']),
|
||||
requiredActorProps: ['inbox', 'outbox'],
|
||||
|
||||
Reference in New Issue
Block a user