mirror of
https://github.com/EvolutionAPI/evolution-api.git
synced 2025-07-14 01:41:24 -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);
|
||||
|
||||
if (!msg) {
|
||||
throw 'Message not found';
|
||||
if (msg) {
|
||||
quoted = msg;
|
||||
this.logger.verbose('Quoted message');
|
||||
}
|
||||
|
||||
quoted = msg;
|
||||
this.logger.verbose('Quoted message');
|
||||
}
|
||||
|
||||
let mentions: string[];
|
||||
|
Loading…
Reference in New Issue
Block a user