mirror of
https://github.com/cheveguerra/whaticket-community.git
synced 2026-04-19 20:29:17 +00:00
major: change message logic and breaks oldticket
This commit is contained in:
@@ -259,7 +259,7 @@ const TicketsList = () => {
|
||||
});
|
||||
|
||||
socket.on("appMessage", data => {
|
||||
if (data.action === "create") {
|
||||
if (data.action === "create" && !data.message.fromMe) {
|
||||
updateUnreadMessagesCount(data);
|
||||
if (
|
||||
(ticketId &&
|
||||
|
||||
Reference in New Issue
Block a user