Add missing upper-bounded calls; improve snake-sync windowing.

Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
Jason Volk committed 2025-07-26 05:52:30 +00:00
1 parent 63dfe8f7e3
commit ba51748ad3
2 files changed
+14 -11

No files matched your search

+2 -1
View File
@@ -809,7 +809,8 @@ async fn load_joined_room(
.map(ToOwned::to_owned)
.collect::<Vec<_>>();
let send_notification_counts = last_notification_read.is_none_or(|count| count > since);
let send_notification_counts =
last_notification_read.is_none_or(|last_count| last_count.gt(&since));
let notification_count: OptionFuture<_> = send_notification_counts
.then(|| {