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

Prep for support for more WA templates components #662

Closed
wants to merge 1 commit into from

Conversation

norkans7
Copy link
Contributor

@norkans7 norkans7 commented Nov 29, 2023

needs adjustment to the engine to send the the components in metadata instead of variables

Copy link

codecov bot commented Nov 29, 2023

Codecov Report

Attention: 29 lines in your changes are missing coverage. Please review.

Comparison is base (503a4a9) 74.25% compared to head (03d5765) 74.20%.

Files Patch % Lines
handlers/meta/handlers.go 79.16% 13 Missing and 2 partials ⚠️
handlers/dialog360/handler.go 80.00% 12 Missing and 2 partials ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #662      +/-   ##
==========================================
- Coverage   74.25%   74.20%   -0.06%     
==========================================
  Files          97       97              
  Lines       13135    13107      -28     
==========================================
- Hits         9754     9726      -28     
  Misses       2692     2692              
  Partials      689      689              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@@ -1070,21 +1070,6 @@ var mediaCacheSendTestCases = []OutgoingTestCase{
},
}

var hsmSupportSendTestCases = []OutgoingTestCase{
Copy link
Contributor Author

Choose a reason for hiding this comment

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

hsm type was replaced by template, so removing support for that as that is no longer used

@@ -724,39 +724,18 @@ func buildPayloads(msg courier.MsgOut, h *handler, clog *courier.ChannelLog) ([]
return nil, errors.Errorf("cannot send template message without Facebook namespace for channel: %s", msg.Channel().UUID())
}

if msg.Channel().BoolConfigForKey(configHSMSupport, false) {
Copy link
Contributor Author

Choose a reason for hiding this comment

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

removing hsm supportas that is not longer used

@norkans7 norkans7 closed this Nov 30, 2023
@github-actions github-actions bot locked and limited conversation to collaborators Nov 30, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant