mirror of
https://github.com/EvolutionAPI/evolution-api.git
synced 2025-07-16 04:02:54 -06:00
fix: quoted messages
This commit is contained in:
parent
ef4a9ab66b
commit
794213b5c6
@ -1772,12 +1772,10 @@ export class BaileysStartupService extends WAStartupService {
|
|||||||
|
|
||||||
const msg = m?.message ? m : ((await this.getMessage(m.key, true)) as proto.IWebMessageInfo);
|
const msg = m?.message ? m : ((await this.getMessage(m.key, true)) as proto.IWebMessageInfo);
|
||||||
|
|
||||||
if (!msg) {
|
if (msg) {
|
||||||
throw 'Message not found';
|
quoted = msg;
|
||||||
|
this.logger.verbose('Quoted message');
|
||||||
}
|
}
|
||||||
|
|
||||||
quoted = msg;
|
|
||||||
this.logger.verbose('Quoted message');
|
|
||||||
}
|
}
|
||||||
|
|
||||||
let mentions: string[];
|
let mentions: string[];
|
||||||
|
Loading…
Reference in New Issue
Block a user