Add ability to search a video with an URL
This commit is contained in:
parent
22a16e36f6
commit
f6eebcb336
19 changed files with 244 additions and 135 deletions
|
@ -177,7 +177,8 @@ async function addFetchOutboxJob (actor: ActorModel) {
|
|||
}
|
||||
|
||||
const payload = {
|
||||
uris: [ actor.outboxUrl ]
|
||||
uri: actor.outboxUrl,
|
||||
type: 'activity' as 'activity'
|
||||
}
|
||||
|
||||
return JobQueue.Instance.createJob({ type: 'activitypub-http-fetcher', payload })
|
||||
|
@ -248,6 +249,7 @@ function saveActorAndServerAndModelIfNotExist (
|
|||
} else if (actorCreated.type === 'Group') { // Video channel
|
||||
actorCreated.VideoChannel = await saveVideoChannel(actorCreated, result, ownerActor, t)
|
||||
actorCreated.VideoChannel.Actor = actorCreated
|
||||
actorCreated.VideoChannel.Account = ownerActor.Account
|
||||
}
|
||||
|
||||
return actorCreated
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue