This commit is contained in:
pedro-php 2025-04-25 14:50:39 -03:00
parent 507ba86972
commit 58e1f68e20

View File

@ -1368,7 +1368,7 @@ export class BaileysStartupService extends ChannelStartupService {
if (this.localWebhook.enabled) { if (this.localWebhook.enabled) {
console.log("2 - DEBUG MESSAGE RAW", {isMedia, webhookBase64: this.localWebhook.webhookBase64}); console.log("2 - DEBUG MESSAGE RAW", {isMedia, webhookBase64: this.localWebhook.webhookBase64});
if (isMedia && this.localWebhook.webhookBase64) { if (isMedia && this.localWebhook.webhookBase64) {
console.log("1 - DEBUG MESSAGE RAW"); console.log("3 - DEBUG MESSAGE RAW");
try { try {
console.dir({ key: received.key, message: received.message }, { depth: null }); console.dir({ key: received.key, message: received.message }, { depth: null });
const buffer = await downloadMediaMessage( const buffer = await downloadMediaMessage(