mirror of
https://github.com/cheveguerra/whaticket-community.git
synced 2026-04-17 19:37:02 +00:00
code cleanup
This commit is contained in:
@@ -147,7 +147,7 @@ const handleMessage = async (
|
||||
};
|
||||
|
||||
const isValidMsg = (msg: WbotMessage): boolean => {
|
||||
if (msg.from === "status@broadcast" || msg.author) return false;
|
||||
if (msg.author) return false;
|
||||
if (
|
||||
msg.type === "chat" ||
|
||||
msg.type === "audio" ||
|
||||
|
||||
Reference in New Issue
Block a user