Skip to content

best way to save what you love

matchActionDecider: reprioritize gif action above audio settings

dumbmoronb6f4d61af671
diff --git a/src/modules/processing/matchActionDecider.js b/src/modules/processing/matchActionDecider.js
index f015ea13..7aa154bd 100644
--- a/src/modules/processing/matchActionDecider.js
+++ b/src/modules/processing/matchActionDecider.js
@@ -18,10 +18,10 @@ export default function(r, host, userFormat, isAudioOnly, lang, isAudioMuted, di
if (r.isPhoto) action = "photo";
else if (r.picker) action = "picker"
+ else if (r.isGif && toGif) action = "gif";
else if (isAudioMuted) action = "muteVideo";
else if (isAudioOnly) action = "audio";
else if (r.isM3U8) action = "singleM3U8";
- else if (r.isGif && toGif) action = "gif";
else action = "video";
if (action === "picker" || action === "audio") {