Revert "V2 fix chatwoot reply quote"

This commit is contained in:
Davidson Gomes
2024-09-05 09:26:33 -03:00
committed by GitHub
parent 2c7288e888
commit ff78954383
9 changed files with 388 additions and 1432 deletions

View File

@@ -1477,7 +1477,7 @@ export class ChatwootService {
let inReplyToExternalId = null;
if (msg) {
inReplyToExternalId = msg.message?.extendedTextMessage?.contextInfo?.stanzaId ?? msg.contextInfo?.stanzaId;
inReplyToExternalId = msg.message?.extendedTextMessage?.contextInfo?.stanzaId;
if (inReplyToExternalId) {
const message = await this.getMessageByKeyId(instance, inReplyToExternalId);
if (message?.chatwootMessageId) {