code cleanup

This commit is contained in:
canove
2020-09-22 21:18:06 -03:00
parent ee9fe6c60d
commit c0e42d71c0

View File

@@ -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" ||