mirror of
https://github.com/matrix-org/matrix-rust-sdk.git
synced 2026-04-27 18:51:13 -04:00
First, u128 has a bug in `serde`, cf. https://github.com/serde-rs/json/issues/625. Second, we don't need to represent the timeout as a u128, it's clearly too large. This patch tries to convert it to u64. It should never fail, but we propagate the error anyway.