mirror of
https://github.com/EvolutionAPI/evolution-api.git
synced 2025-07-16 12:12:55 -06:00
fixed docker files and quoted message option
This commit is contained in:
parent
85e6efb8b0
commit
849d570bcb
@ -81,6 +81,7 @@ const quotedOptionsSchema: JSONSchema7 = {
|
|||||||
required: ['id', 'remoteJid', 'fromMe'],
|
required: ['id', 'remoteJid', 'fromMe'],
|
||||||
...isNotEmpty('id', 'remoteJid'),
|
...isNotEmpty('id', 'remoteJid'),
|
||||||
},
|
},
|
||||||
|
message: { type: 'object' },
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -983,12 +983,7 @@ export class WAStartupService {
|
|||||||
|
|
||||||
const messageSent = await (async () => {
|
const messageSent = await (async () => {
|
||||||
const option = {
|
const option = {
|
||||||
quoted: {
|
quoted,
|
||||||
key: quoted.key,
|
|
||||||
message: {
|
|
||||||
conversation: 'message',
|
|
||||||
},
|
|
||||||
},
|
|
||||||
};
|
};
|
||||||
|
|
||||||
if (!message['audio'] && !message['poll'] && !message['linkPreview']) {
|
if (!message['audio'] && !message['poll'] && !message['linkPreview']) {
|
||||||
|
Loading…
Reference in New Issue
Block a user