chore: Clippy fixes

This commit is contained in:
Ginger
2025-10-22 09:03:25 -04:00
parent 2940bc69c1
commit c92b7239a8
2 changed files with 37 additions and 37 deletions
+1 -2
View File
@@ -136,8 +136,7 @@ pub fn changes_since<'a>(
// Skip the data that's exactly at since, because we sent that last time
// ...unless this is an initial sync, in which case send everything
let first_possible =
(room_id, user_id, since.map(|since| since.saturating_add(1)).unwrap_or(0));
let first_possible = (room_id, user_id, since.map_or(0, |since| since.saturating_add(1)));
self.db
.roomuserdataid_accountdata