From 1f8bd6a3c68d16a8a4ea9dcd58f80feaf8a6c443 Mon Sep 17 00:00:00 2001 From: Bhupesh-MS Date: Tue, 24 Sep 2024 18:46:54 +0530 Subject: [PATCH] fixed edit msg indicator issue --- .../src/hooks/messages/receipt/ReceiptDispatcher.ts | 1 + packages/messenger-widget/src/version.ts | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/messenger-widget/src/hooks/messages/receipt/ReceiptDispatcher.ts b/packages/messenger-widget/src/hooks/messages/receipt/ReceiptDispatcher.ts index bded908c2..dcfca44ce 100644 --- a/packages/messenger-widget/src/hooks/messages/receipt/ReceiptDispatcher.ts +++ b/packages/messenger-widget/src/hooks/messages/receipt/ReceiptDispatcher.ts @@ -74,6 +74,7 @@ export class ReceiptDispatcher { //We only want to acknowledge messages from type NEW or REPLY. Every other message type can be neglected for now const shouldAcknowledgeMessage = messageModel.envelop.message.metadata.type === 'NEW' || + messageModel.envelop.message.metadata.type === 'EDIT' || messageModel.envelop.message.metadata.type === 'REPLY'; //Check if the selected contact is the sender of the message. // If that is the case we've to acknowledge the message and send a READ_OPENED acknowledgement to the sender diff --git a/packages/messenger-widget/src/version.ts b/packages/messenger-widget/src/version.ts index 906d0451a..824005cf5 100644 --- a/packages/messenger-widget/src/version.ts +++ b/packages/messenger-widget/src/version.ts @@ -1 +1 @@ -export const version = '1.6.0'; +export const version = '1.6.1';