mirror of
https://github.com/voc/streaming-website
synced 2024-11-15 00:47:14 +00:00
repair relive urls
This commit is contained in:
parent
f5b3525b17
commit
e58f192069
1 changed files with 9 additions and 3 deletions
|
@ -62,10 +62,16 @@ class Relive
|
|||
if($talk['status'] == 'not_running')
|
||||
continue;
|
||||
|
||||
if($talk['status'] == 'released')
|
||||
if($talk['status'] == 'released') {
|
||||
$talk['url'] = $talk['release_url'];
|
||||
else
|
||||
$talk['url'] = 'relive/'.rawurlencode($talk['id']).'/';
|
||||
}
|
||||
else {
|
||||
$talk['url'] = joinpath([
|
||||
$this->getConference()->getSlug(),
|
||||
'relive',
|
||||
rawurlencode($talk['id']),
|
||||
]);
|
||||
}
|
||||
|
||||
if(isset($mapping[$talk['room']]))
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue