Ignore Empty Messages - Issue #18

Solves #18
This commit is contained in:
esteves67
2020-09-15 00:26:30 -03:00
committed by GitHub
parent a13bfe76a0
commit 943888ea5b

View File

@@ -146,6 +146,8 @@ const wbotMessageListener = whatsapp => {
msg.from === "status@broadcast" ||
msg.type === "location" ||
msg.type === "call_log" ||
msg.type === "e2e_notification" || // Ignore Empty Messages Generated When Someone Changes His Account from Personal to Business or vice-versa
msg.type === "notification_template" || // Ignore Empty Messages Generated When Someone Changes His Account from Personal to Business or vice-versa
msg.author != null // Ignore Group Messages
) {
return;