natureco-cli 1.0.41 → 1.0.43
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -234,10 +234,8 @@ async function startWhatsAppProvider(sessionDir, config) {
|
|
|
234
234
|
log('whatsapp', `messages.upsert event triggered, ${messages.length} message(s)`, 'gray');
|
|
235
235
|
|
|
236
236
|
for (const msg of messages) {
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
continue;
|
|
240
|
-
}
|
|
237
|
+
// Log raw message info
|
|
238
|
+
log('whatsapp', `Raw message - fromMe: ${msg.key.fromMe}, remoteJid: ${msg.key.remoteJid}`, 'gray');
|
|
241
239
|
|
|
242
240
|
const sender = msg.key.remoteJid?.split('@')[0].split(':')[0];
|
|
243
241
|
const allowedNumbers = config.whatsappAllowedNumbers || [];
|