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