Fix.
This commit is contained in:
parent
5a4eb7fc33
commit
1a5989d9a9
@ -5,6 +5,7 @@ import { videoHasWebchat } from '../../../shared/lib/video'
|
|||||||
import { getBoshUri, getWSUri } from '../uri/webchat'
|
import { getBoshUri, getWSUri } from '../uri/webchat'
|
||||||
import { canonicalizePluginUri } from '../uri/canonicalize'
|
import { canonicalizePluginUri } from '../uri/canonicalize'
|
||||||
import { getProsodyDomain } from '../prosody/config/domain'
|
import { getProsodyDomain } from '../prosody/config/domain'
|
||||||
|
import { fillVideoCustomFields } from 'lib/custom-fields'
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* This function adds LiveChat information on video ActivityPub data if relevant.
|
* This function adds LiveChat information on video ActivityPub data if relevant.
|
||||||
@ -39,6 +40,7 @@ async function videoBuildJSONLD (
|
|||||||
return jsonld
|
return jsonld
|
||||||
}
|
}
|
||||||
|
|
||||||
|
await fillVideoCustomFields(options, video)
|
||||||
const hasChat = await videoHasWebchat({
|
const hasChat = await videoHasWebchat({
|
||||||
'chat-per-live-video': !!settings['chat-per-live-video'],
|
'chat-per-live-video': !!settings['chat-per-live-video'],
|
||||||
'chat-all-lives': !!settings['chat-all-lives'],
|
'chat-all-lives': !!settings['chat-all-lives'],
|
||||||
|
Loading…
x
Reference in New Issue
Block a user