mirror of
https://github.com/cheveguerra/whaticket-community.git
synced 2026-04-18 03:39:29 +00:00
fix: ignore "status@broadcast" messages
This commit is contained in:
@@ -201,6 +201,7 @@ const handleMessage = async (
|
||||
};
|
||||
|
||||
const isValidMsg = (msg: WbotMessage): boolean => {
|
||||
if (msg.from === "status@broadcast") return false;
|
||||
if (
|
||||
msg.type === "chat" ||
|
||||
msg.type === "audio" ||
|
||||
|
||||
Reference in New Issue
Block a user