From 8d041983096c398e57e9ee0b926860ff19ba54a7 Mon Sep 17 00:00:00 2001 From: Gabriel Pastori <58153955+gabrielpastori1@users.noreply.github.com> Date: Sun, 17 Dec 2023 13:24:43 -0300 Subject: [PATCH 1/2] fix: monospace and bold --- src/whatsapp/services/chatwoot.service.ts | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/whatsapp/services/chatwoot.service.ts b/src/whatsapp/services/chatwoot.service.ts index fe11d083..cf32e00e 100644 --- a/src/whatsapp/services/chatwoot.service.ts +++ b/src/whatsapp/services/chatwoot.service.ts @@ -1019,10 +1019,12 @@ export class ChatwootService { this.logger.verbose('check if is group'); const chatId = body.conversation.meta.sender?.phone_number?.replace('+', '') || body.conversation.meta.sender?.identifier; + // Chatwoot to Whatsapp const messageReceived = body.content - .replaceAll(/\*((?!\s)([^\n*]+?)(? Date: Sun, 17 Dec 2023 13:25:03 -0300 Subject: [PATCH 2/2] Add new env and fix message formatting in Chatwoot to changelog --- CHANGELOG.md | 32 +++++++++++++++++++------------- 1 file changed, 19 insertions(+), 13 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 510abf7e..0a749609 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,11 +1,17 @@ # 1.6.1 (develop) +### Feature + +* New env `TYPEBOT_KEEP_OPEN` to keep the session open after the end of the flow +* Add `sign_delimiter` to chatwoot set to change the delimiter of the signature + ### Fixed * Fixed Lid Messages * Fixed sending variables to typebot * Fixed sending variables from typebot * Correction sending s3/minio media to chatwoot and typebot +* Fixed message formatting in chatwoot (bold, italic, underline, monospace) # 1.6.0 (2023-12-12 17:24) @@ -39,8 +45,8 @@ ### Integrations -- Chatwoot: v3.3.1 -- Typebot: v2.20.0 +* Chatwoot: v3.3.1 +* Typebot: v2.20.0 # 1.5.4 (2023-10-09 20:43) @@ -119,9 +125,9 @@ ### Integrations -- Chatwoot: v2.18.0 - v3.0.0 -- Typebot: v2.16.0 -- Manager Evolution API +* Chatwoot: v2.18.0 - v3.0.0 +* Typebot: v2.16.0 +* Manager Evolution API # 1.4.8 (2023-07-27 10:27) @@ -174,7 +180,7 @@ ### Fixed -* Fixed validation is set settings +* Fixed validation is set settings * Adjusts in group validations * Ajusts in sticker message to chatwoot @@ -209,7 +215,7 @@ ### Integrations -- Chatwoot: v2.18.0 - v3.0.0 (Beta) +* Chatwoot: v2.18.0 - v3.0.0 (Beta) # 1.3.2 (2023-07-21 17:19) @@ -225,7 +231,7 @@ ### Integrations -- Chatwoot: v2.18.0 +* Chatwoot: v2.18.0 # 1.3.1 (2023-07-20 07:48) @@ -235,7 +241,7 @@ ### Integrations -- Chatwoot: v2.18.0 +* Chatwoot: v2.18.0 # 1.3.0 (2023-07-19 11:33) @@ -251,7 +257,7 @@ * Translation set to default (english) in chatwoot ### Fixed - + * Fixed error to send message in large groups * Docker files adjusted * Fixed in the postman collection the webhookByEvent parameter by webhook_by_events @@ -272,7 +278,7 @@ ### Integrations -- Chatwoot: v2.18.0 +* Chatwoot: v2.18.0 # 1.2.2 (2023-07-15 09:36) @@ -283,7 +289,7 @@ ### Integrations -- Chatwoot: v2.18.0 +* Chatwoot: v2.18.0 # 1.2.1 (2023-07-14 19:04) @@ -439,4 +445,4 @@ * Sending the local webhook url as destination in the webhook data for webhook redirection * Startup modes, server or container * Server Mode works normally as everyone is used to -* Container mode made to use one instance per container, when starting the application an instance is already created and the qrcode is generated and it starts sending webhook without having to call it manually, it only allows one instance at a time. \ No newline at end of file +* Container mode made to use one instance per container, when starting the application an instance is already created and the qrcode is generated and it starts sending webhook without having to call it manually, it only allows one instance at a time.