fix: quoted messages

This commit is contained in:
Davidson Gomes 2024-04-12 15:53:06 -03:00
parent ef4a9ab66b
commit 794213b5c6

View File

@ -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[];