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

Update D* handlers to use new send #703

Merged
merged 11 commits into from
Feb 28, 2024
Merged

Update D* handlers to use new send #703

merged 11 commits into from
Feb 28, 2024

Conversation

norkans7
Copy link
Contributor

No description provided.

Copy link

codecov bot commented Feb 22, 2024

Codecov Report

Attention: Patch coverage is 61.29032% with 24 lines in your changes are missing coverage. Please review.

Project coverage is 74.29%. Comparing base (eadf5a7) to head (f3401ba).

Files Patch % Lines
handlers/dialog360/handler.go 71.42% 8 Missing and 2 partials ⚠️
handlers/dart/handler.go 33.33% 3 Missing and 3 partials ⚠️
handlers/dmark/handler.go 50.00% 3 Missing and 2 partials ⚠️
handlers/discord/handler.go 62.50% 3 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #703      +/-   ##
==========================================
+ Coverage   74.20%   74.29%   +0.09%     
==========================================
  Files          98       98              
  Lines       12922    12890      -32     
==========================================
- Hits         9589     9577      -12     
+ Misses       2632     2611      -21     
- Partials      701      702       +1     

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

@@ -549,7 +533,7 @@ func (h *handler) SendLegacy(ctx context.Context, msg courier.MsgOut, clog *cour

payload.Interactive = &interactive
} else {
return nil, fmt.Errorf("too many quick replies WAC supports only up to 10 quick replies")
return fmt.Errorf("too many quick replies WAC supports only up to 10 quick replies")
Copy link
Member

Choose a reason for hiding this comment

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

should just truncate to 10 and log channel log error like we've done in other WhatsApp channels

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Sure, I will add that here as well

@rowanseymour rowanseymour merged commit fa81698 into main Feb 28, 2024
6 of 7 checks passed
@rowanseymour rowanseymour deleted the d-sends branch February 28, 2024 13:58
@github-actions github-actions bot locked and limited conversation to collaborators Feb 28, 2024
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.

2 participants