Closed ariona closed 3 months ago
está função deve ter mudado de nome i.Wid.isStatusV3, existe fiz ajuste direto no arquivo final, só pra não erro, mas precisa analisar o que mudou
//participant: i.Wid.isGroup(e.from) || i.Wid.isGroup(e.to) || i.Wid.isStatusV3(r) ? e.quotedParticipant : void 0 participant: i.Wid.isGroup(e.from) || i.Wid.isGroup(e.to) || (i.Wid.isStatusV3 ? i.Wid.isStatusV3(r) : undefined) ? e.quotedParticipant : void 0
Fixed by dfae74d
@icleitoncosta this has not been resolved 3.4.2-alpha.0 release. still return error:
TypeError: n.isStatusV3 is not a function
at t.getMessageById (core.js:2:143907)
at t.getMessageACK (core.js:2:142840)
at ui.js:557:20145
at new Promise (<anonymous>)
reference to this. n.isStatusV3 at the end of line
if ((null === (r = null === (t = e.remote) || void 0 === t ? void 0 : t.toString()) || void 0 === r ? void 0 : r.includes("status@broadcast")) || (null === (n = e.remote) || void 0 === n ? void 0 : n.isStatusV3()))
WA-JS Version
3.4.1
WhatsApp Version
2.3000.1014553850
Browser Version
126.0.6478.127
Operation System
OS X Sonoma
Steps to reproduce
await WPP.chat.getMessageById('true_6281224630779@c.us_3EB0548176F515E61DA688_out')
What is expected?
The function should handle promise error and return null/undefined when the message id is not found
What is actually happening?
Instead returning falsy value like null/undefined, it log Unhandled Promise Error
Any additional comments?
No response