mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-10-04 18:29:27 +02:00
Fix HTTP fallback when having videostream issues on firefox
This commit is contained in:
parent
9c2e0dbfa9
commit
575712a5c9
3 changed files with 3 additions and 4 deletions
|
@ -92,7 +92,7 @@ function isActorUpdateActivityValid (activity: any) {
|
|||
}
|
||||
|
||||
function normalizeActor (actor: any) {
|
||||
if (!actor) return
|
||||
if (!actor || !actor.url) return
|
||||
|
||||
if (typeof actor.url !== 'string') {
|
||||
actor.url = actor.url.href || actor.url.url
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue