natureco-cli 1.0.41 → 1.0.42

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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "natureco-cli",
3
- "version": "1.0.41",
3
+ "version": "1.0.42",
4
4
  "description": "NatureCo AI Bot Terminal Interface",
5
5
  "main": "bin/natureco.js",
6
6
  "bin": {
@@ -234,11 +234,6 @@ 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
- if (msg.key.fromMe) {
238
- log('whatsapp', 'skipping own message', 'gray');
239
- continue;
240
- }
241
-
242
237
  const sender = msg.key.remoteJid?.split('@')[0].split(':')[0];
243
238
  const allowedNumbers = config.whatsappAllowedNumbers || [];
244
239