mirror of
https://github.com/cheveguerra/whaticket-community.git
synced 2026-04-20 20:59:16 +00:00
chore: fix typo in comment
This commit is contained in:
@@ -274,9 +274,9 @@ const wbotMessageListener = (wbot: Session): void => {
|
|||||||
msgContact = await wbot.getContactById(msg.to);
|
msgContact = await wbot.getContactById(msg.to);
|
||||||
|
|
||||||
// media messages sent from me from cell phone, first comes with "hasMedia = false" and type = "image/ptt/etc"
|
// media messages sent from me from cell phone, first comes with "hasMedia = false" and type = "image/ptt/etc"
|
||||||
// the media itself comes on body of message,in base64
|
// the media itself comes on body of message, as base64
|
||||||
// if this is the case, return and let this media be handled by media_uploaded event
|
// if this is the case, return and let this media be handled by media_uploaded event
|
||||||
// it should be improove to handle the base64 media here in future versions
|
// it should be improoved to handle the base64 media here in future versions
|
||||||
|
|
||||||
if (!msg.hasMedia && msg.type !== "chat" && msg.type !== "vcard")
|
if (!msg.hasMedia && msg.type !== "chat" && msg.type !== "vcard")
|
||||||
return;
|
return;
|
||||||
|
|||||||
Reference in New Issue
Block a user