Skip to content

Commit

Permalink
Update providerDialogId to use recommended format
Browse files Browse the repository at this point in the history
Recommended format is:
senderId_receiverId_subChannelId
  • Loading branch information
zaelzanati authored Feb 26, 2024
1 parent 2715587 commit 93ed9b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/infrastructure/types/transformers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 },
};
Expand Down

0 comments on commit 93ed9b1

Please sign in to comment.