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

twilio/sms: don't reply to unknown numbers #1833

Merged
merged 12 commits into from
Aug 9, 2021
Merged

Conversation

mastercactapus
Copy link
Member

  • Identified the issue which this PR solves.
  • Read the CONTRIBUTING document.
  • Code builds clean without any errors or warnings.
  • Added appropriate tests for any new functionality.
  • All new and existing tests passed.
  • Added comments in the code, where necessary.
  • Ran make check to catch common errors. Fixed any that came up.

Description:
This PR makes updates to ensure reply SMS messages aren't sent to disabled or unknown numbers.

Additionally, destination type conversion code has been moved out of the independent type packages (contactmethod and notificationchannel) into the notification package. Since DestType depends on both and it made for confusing logic & import cycles.

@dctalbot dctalbot self-requested a review August 9, 2021 15:16
dctalbot
dctalbot previously approved these changes Aug 9, 2021
Copy link
Contributor

@m17ch m17ch left a comment

Choose a reason for hiding this comment

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

lgtm 👍

@dctalbot dctalbot merged commit 7cef046 into master Aug 9, 2021
@dctalbot dctalbot deleted the ignore-unknown-numbers branch August 9, 2021 18:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants