When building, we get a few of these warnings. Let's migrate from from_timestamp() to from_timestamp_opt().
warning: use of deprecated associated function `chrono::NaiveDateTime::from_timestamp`: use `from_timestamp_opt()` instead
--> src/state/thread.rs:557:28
|
557 | NaiveDateTime::from_timestamp(after, 0),
| ^^^^^^^^^^^^^^
|
= note: `#[warn(deprecated)]` on by default