Skip to content

Commit

Permalink
Add an important comment
Browse files Browse the repository at this point in the history
  • Loading branch information
CaspianA1 committed Oct 30, 2024
1 parent ee4bdfe commit 062bb7f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/dashboard_defs/twilio.rs
Original file line number Diff line number Diff line change
Expand Up @@ -363,7 +363,8 @@ impl Updatable for TwilioStateData {
let unparsed_time_sent = message_field("date_created");
let time_sent = DateTime::parse_from_rfc2822(unparsed_time_sent).unwrap();

// TODO: see that the manual date filtering logic works
/* TODO: re-request if not enough messages were gotten. Filtering out outbound
messages will give you less messages than you requested if there are any outbound ones. */
if time_sent >= history_cutoff_time && message_field("direction") == "inbound" {
let id = message_field("uri");

Expand Down

0 comments on commit 062bb7f

Please sign in to comment.