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" ||
|
||||
|
||||
@@ -554,7 +554,6 @@ const Ticket = () => {
|
||||
<ExpandMore />
|
||||
</IconButton>
|
||||
{message.mediaUrl && checkMessaageMedia(message)}
|
||||
{/* <div className={classes.textContentItem}> */}
|
||||
<div
|
||||
className={clsx(classes.textContentItem, {
|
||||
[classes.textContentItemDeleted]: message.isDeleted,
|
||||
|
||||
Reference in New Issue
Block a user