mirror of
https://github.com/cheveguerra/whaticket-community.git
synced 2026-04-18 19:59:20 +00:00
Merge pull request #22 from esteves67/master
Ignore Empty Messages - Issue #18
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user