mirror of
https://github.com/CompeyDev/fxtwitter-docker.git
synced 2025-04-09 20:40:53 +01:00
Fix quote media never being used
This commit is contained in:
parent
bbefdfd400
commit
1d3f4584d1
1 changed files with 1 additions and 1 deletions
|
@ -219,7 +219,7 @@ export const handleStatus = async (
|
||||||
console.log('overrideMedia', JSON.stringify(overrideMedia));
|
console.log('overrideMedia', JSON.stringify(overrideMedia));
|
||||||
|
|
||||||
if (!flags?.textOnly) {
|
if (!flags?.textOnly) {
|
||||||
const media = tweet.media || tweet.quote?.media;
|
const media = tweet.media?.all && tweet.media?.all.length > 0 ? tweet.media : tweet.quote?.media || {}
|
||||||
if (overrideMedia) {
|
if (overrideMedia) {
|
||||||
let instructions: ResponseInstructions;
|
let instructions: ResponseInstructions;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue