Skip to content

Commit bbdda3f

Browse files
committed
fix(dev): Squashed commit of the following:
commit 48bda1b Merge: e83a7e2 dd21a29 Author: Davidson Gomes <davidsongviolao@gmail.com> Date: Sun Oct 19 17:59:26 2025 -0300 Merge pull request EvolutionAPI#2107 from KokeroO/develop fix( baileys.service ): Corrige ao salvar no DB valores Uint8Array commit dd21a29 Author: Willian Coqueiro <wil_kokero@hotmail.com> Date: Sun Oct 19 18:53:16 2025 +0000 fix(baileys): salvar corretamente buffer no db commit e83a7e2 Merge: cd71ff5 d58d0b8 Author: Davidson Gomes <davidsongviolao@gmail.com> Date: Sun Oct 19 06:41:28 2025 -0300 Merge pull request EvolutionAPI#2105 from KokeroO/develop fix: Simplify logging of messageSent object commit d58d0b8 Merge: 4efc9b6 cd71ff5 Author: Willian Coqueiro <wil_kokero@hotmail.com> Date: Sun Oct 19 06:34:58 2025 -0300 Merge branch 'EvolutionAPI:develop' into develop commit 4efc9b6 Author: Willian Coqueiro <wil_kokero@hotmail.com> Date: Sun Oct 19 06:34:45 2025 -0300 Simplify logging of messageSent object Evita o erro de this.isZero not is function commit cd71ff5 Merge: cdf0666 582166e Author: Davidson Gomes <davidsongviolao@gmail.com> Date: Sun Oct 19 06:23:39 2025 -0300 Merge pull request EvolutionAPI#2103 from KokeroO/develop feat(baileys,chatwoot,on-whatsapp-cache): implementações e correções na baileys e chatwoot commit 582166e Author: Willian Coqueiro <wil_kokero@hotmail.com> Date: Sun Oct 19 05:41:55 2025 +0000 fix(lint): lint commit e1ae03c Author: Willian Coqueiro <wil_kokero@hotmail.com> Date: Sun Oct 19 05:37:22 2025 +0000 fix(comments): comments fix commit 0737c45 Author: Willian Coqueiro <wil_kokero@hotmail.com> Date: Sun Oct 19 02:29:04 2025 -0300 Update src/api/integrations/chatbot/chatwoot/services/chatwoot.service.ts Co-authored-by: sourcery-ai[bot] <58596630+sourcery-ai[bot]@users.noreply.github.com> commit adbe107 Author: Willian Coqueiro <wil_kokero@hotmail.com> Date: Sun Oct 19 02:28:45 2025 -0300 Update src/api/integrations/chatbot/chatwoot/services/chatwoot.service.ts Co-authored-by: sourcery-ai[bot] <58596630+sourcery-ai[bot]@users.noreply.github.com> commit 423f629 Author: Willian Coqueiro <wil_kokero@hotmail.com> Date: Sun Oct 19 02:26:52 2025 -0300 Update src/utils/onWhatsappCache.ts Co-authored-by: sourcery-ai[bot] <58596630+sourcery-ai[bot]@users.noreply.github.com> commit 946dcae Author: Willian Coqueiro <wil_kokero@hotmail.com> Date: Sun Oct 19 03:05:11 2025 +0000 feat(baileys,chatwoot,on-whatsapp-cache): implementações e correções na baileys e chatwoot * corrige cache de números PN, LIDs e g.us para enviar o número correto * atualiza para os últimos commits da baileys * corrige envio de áudio e documentos via chatwoot no canal baileys * diversas correções na integração com chatwoot * corrige mensagens ignoradas no recebimento de leads
1 parent b26ccc7 commit bbdda3f

File tree

4 files changed

+353
-538
lines changed

4 files changed

+353
-538
lines changed

src/api/integrations/channel/whatsapp/baileysMessage.processor.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { Logger } from '@config/logger.config';
2-
import { BaileysEventMap, MessageUpsertType, proto, WAMessage } from 'baileys';
2+
import { BaileysEventMap, MessageUpsertType, WAMessage } from 'baileys';
33
import { catchError, concatMap, delay, EMPTY, from, retryWhen, Subject, Subscription, take, tap } from 'rxjs';
44

55
type MessageUpsertPayload = BaileysEventMap['messages.upsert'];
@@ -12,7 +12,7 @@ export class BaileysMessageProcessor {
1212
private subscription?: Subscription;
1313

1414
protected messageSubject = new Subject<{
15-
messages: proto.IWebMessageInfo[];
15+
messages: WAMessage[];
1616
type: MessageUpsertType;
1717
requestId?: string;
1818
settings: any;

0 commit comments

Comments
 (0)