fix: lastMessage not changing when msg = fromMe

This commit is contained in:
canove
2020-08-04 13:50:18 -03:00
parent b464337a8a
commit f7e8fed7d8
3 changed files with 12 additions and 5 deletions

View File

@@ -120,8 +120,6 @@ const handleMessage = async (msg, ticket, contact) => {
const serializaedTicket = {
...ticket.dataValues,
// unreadMessages: 1,
// lastMessage: newMessage.body,
contact: contact,
};