Skip to content

Commit

Permalink
fix: Fix mids going duplicated in chatwoot
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidsonGomes committed Jul 26, 2023
1 parent 3e3c739 commit 3f41974
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@

### Fixed

* Fixed problems in localization template
* Fixed problems in localization template in chatwoot
* Fix mids going duplicated in chatwoot

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

Expand Down
2 changes: 1 addition & 1 deletion src/whatsapp/services/chatwoot.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1308,7 +1308,7 @@ export class ChatwootService {
this.logger.verbose('get conversation message');

const types = this.getTypeMessage(msg);
=

const messageContent = this.getMessageContent(types);

this.logger.verbose('conversation message: ' + messageContent);
Expand Down
2 changes: 1 addition & 1 deletion src/whatsapp/services/whatsapp.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1147,7 +1147,7 @@ export class WAStartupService {

if (
type !== 'notify' ||
// received.message?.protocolMessage ||
received.message?.protocolMessage ||
received.message?.pollUpdateMessage
) {
this.logger.verbose('message rejected');
Expand Down

0 comments on commit 3f41974

Please sign in to comment.