Added support for messaging with ads on chatwoot

This commit is contained in:
Davidson Gomes
2023-09-17 13:48:27 -03:00
parent 32da15fa8a
commit 707aa22a6d
4 changed files with 26 additions and 149 deletions

View File

@@ -1434,8 +1434,9 @@ export class WAStartupService {
if (
type !== 'notify' ||
!received.message ||
!received?.message ||
received.message?.protocolMessage ||
received.message.senderKeyDistributionMessage ||
received.message?.pollUpdateMessage
) {
this.logger.verbose('message rejected');