Skip to content

Commit 3f41974

Browse files
committed
fix: Fix mids going duplicated in chatwoot
1 parent 3e3c739 commit 3f41974

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

CHANGELOG.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22

33
### Fixed
44

5-
* Fixed problems in localization template
5+
* Fixed problems in localization template in chatwoot
6+
* Fix mids going duplicated in chatwoot
67

78
# 1.4.4 (2023-07-25 15:24)
89

src/whatsapp/services/chatwoot.service.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1308,7 +1308,7 @@ export class ChatwootService {
13081308
this.logger.verbose('get conversation message');
13091309

13101310
const types = this.getTypeMessage(msg);
1311-
=
1311+
13121312
const messageContent = this.getMessageContent(types);
13131313

13141314
this.logger.verbose('conversation message: ' + messageContent);

src/whatsapp/services/whatsapp.service.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1147,7 +1147,7 @@ export class WAStartupService {
11471147

11481148
if (
11491149
type !== 'notify' ||
1150-
// received.message?.protocolMessage ||
1150+
received.message?.protocolMessage ||
11511151
received.message?.pollUpdateMessage
11521152
) {
11531153
this.logger.verbose('message rejected');

0 commit comments

Comments
 (0)