matchActionDecider: reprioritize gif action above audio settings
merge pull request #323 from dumbmoron/patch-1
This commit is contained in:
commit
a7a59bd1a9
1 changed files with 1 additions and 1 deletions
|
@ -18,10 +18,10 @@ export default function(r, host, userFormat, isAudioOnly, lang, isAudioMuted, di
|
||||||
|
|
||||||
if (r.isPhoto) action = "photo";
|
if (r.isPhoto) action = "photo";
|
||||||
else if (r.picker) action = "picker"
|
else if (r.picker) action = "picker"
|
||||||
|
else if (r.isGif && toGif) action = "gif";
|
||||||
else if (isAudioMuted) action = "muteVideo";
|
else if (isAudioMuted) action = "muteVideo";
|
||||||
else if (isAudioOnly) action = "audio";
|
else if (isAudioOnly) action = "audio";
|
||||||
else if (r.isM3U8) action = "singleM3U8";
|
else if (r.isM3U8) action = "singleM3U8";
|
||||||
else if (r.isGif && toGif) action = "gif";
|
|
||||||
else action = "video";
|
else action = "video";
|
||||||
|
|
||||||
if (action === "picker" || action === "audio") {
|
if (action === "picker" || action === "audio") {
|
||||||
|
|
Loading…
Reference in a new issue