api/match-action: pass isHLS when muting audio

fixes a bug where HLS status would be ignored if a muted video
was downloaded with HLS enabled
This commit is contained in:
jj 2024-12-22 14:09:14 +00:00
parent 4cdbb02de2
commit 1ed7e74773
No known key found for this signature in database

View file

@ -68,7 +68,8 @@ export default function({ r, host, audioFormat, isAudioOnly, isAudioMuted, disab
}
params = {
type: muteType,
url: Array.isArray(r.urls) ? r.urls[0] : r.urls
url: Array.isArray(r.urls) ? r.urls[0] : r.urls,
isHLS: r.isHLS
}
if (host === "reddit" && r.typeId === "redirect") {
responseType = "redirect";