pedroslopez / whatsapp-web.js

A WhatsApp client library for NodeJS that connects through the WhatsApp Web browser app
https://wwebjs.dev
Apache License 2.0
15.05k stars 3.58k forks source link

ciphertext message not received, Body is blank, #3221

Open Hasnen-mr opened 1 month ago

Hasnen-mr commented 1 month ago

Is there an existing issue for this?

Describe the bug

{ "id" : { "fromMe" : false, "remote" : "34655043XXX@c.us", "id" : "3AFCB216FB50C768E8C6", "_serialized" : "false_3465504XXX@c.us_3AFCB216FB50C768E8C6" }, "text" : "", "from" : "346550XXX@c.us", "to" : "346143XXX@c.us", "fromNumber" : "346550XXXX", "toNumber" : "3461434XXXX", "chatId" : "346550XXXX2@c.us", "conversationId" : "3AFCB216FB50C768E8C6", "ack" : 1, "hasMedia" : false, "type" : "ciphertext", "body" : "", "timestamp" : "1721734738000", "authorName" : "Serhii", "deviceType" : "ios", "isForwarded" : false, "forwardingScore" : 0, "isStatus" : false, "isStarred" : false, "fromMe" : false, "hasQuotedMsg" : false, "hasReaction" : false, "vCards" : [], "mentionedIds" : [], "isGif" : false, "links" : [], "meta" : { "receiver" : "34614XXXXX1@c.us", "sender" : "346550XXXX2@c.us", "sent" : true, "received" : false, "read" : false }, "isNewMsg" : true, "kicNotified" : false, "isFromTemplate" : false, "pollInvalidated" : false, "isSentCagPollCreation" : false, "latestEditMsgKey" : null, "latestEditSenderTimestampMs" : null, "mentionedJidList" : [], "groupMentions" : [], "isVcardOverMmsDocument" : false, "productHeaderImageRejected" : false, "lastPlaybackProgress" : 0, "isDynamicReplyButtonsMsg" : false, "isMdHistoryMsg" : false, "stickerSentTs" : 0, "isAvatar" : false, "requiresDirectConnection" : "false", "viaSystem" : false, "attachments" : [ { "id" : 1, "downloadLink" : "data:application/pdf;base64,undefined" } ], "image" : [], "caption" : "", "isDelete_everyone" : false, "isDelete_me" : false, "markResolve" : false,

}

Expected behavior

Cipertext to chat convert and should get text from message.

Steps to Reproduce the Bug or Issue

Sometime when first message comes from any number, then message_create is not fired.

Relevant Code

No response

Browser Type

Chromium

WhatsApp Account Type

Standard

Does your WhatsApp account have multidevice enabled?

Yes, I am using Multi Device

Environment

Node 18.15

Additional context

No response

Hasnen-mr commented 1 month ago

@alechkos any finding ?