Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[NEW] Extract message service SID from incoming message and save to room #1398

Merged
merged 2 commits into from
Sep 20, 2023

Conversation

bhardwajaditya
Copy link

Closes: #1397

Proposed changes (including videos or screenshots)

Issue(s)

Steps to test or reproduce

Further comments

if (message.customFields && message.customFields.messagingServiceSid) {
const { messagingServiceSid } = message.customFields;
extraData = Object.assign({}, extraData, { messagingServiceSid });
if (room.sms.messaging_service_sid) {
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does this add messaging_service_sid to all of our bot responses to twilio, and not just the responses that include contentSid? Is that the way we want to do it? Are we sure that won't cause any confusion on the twilio side? Or should we just be adding this when there is also the customFields with contentSid?

@ear-dev ear-dev merged commit a691f42 into develop Sep 20, 2023
6 of 9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants