From 93ed9b11147a1d9f4bec7ab884a4e353a597efa2 Mon Sep 17 00:00:00 2001 From: Zeyad Elzanati <98820149+zaelzanati@users.noreply.github.com> Date: Mon, 26 Feb 2024 15:34:48 +0400 Subject: [PATCH] Update providerDialogId to use recommended format Recommended format is: senderId_receiverId_subChannelId --- src/infrastructure/types/transformers.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/infrastructure/types/transformers.ts b/src/infrastructure/types/transformers.ts index 1b938ad..23cda12 100644 --- a/src/infrastructure/types/transformers.ts +++ b/src/infrastructure/types/transformers.ts @@ -53,7 +53,7 @@ export const transformToAXPMessage = (message: NormalizedMessage): AXPSendMessag }, senderName: message.message.senderName, providerSenderId: message.message.senderId, - providerDialogId: `SMS_${message.message.senderId}_${message.message.receiverId}`, + providerDialogId: `${message.message.senderId}_${message.message.receiverId}_SMS`, providerMessageId: message.message.id, engagementParameters: { receipientId: message.message.receiverId }, };