-
Notifications
You must be signed in to change notification settings - Fork 71
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
Conversation
Codecov ReportAttention: Patch coverage is
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. |
handlers/dialog360/handler.go
Outdated
@@ -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") |
There was a problem hiding this comment.
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
There was a problem hiding this comment.
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
No description provided.