mirror of
https://forgejo.ellis.link/continuwuation/continuwuity.git
synced 2026-11-15 21:26:50 +00:00
Add missing upper-bounded calls; improve snake-sync windowing.
Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
1 parent
63dfe8f7e3
commit
ba51748ad3
2 files changed
+14
-11
No files matched your search
@@ -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(|| {
|
||||
|
||||
Reference in new issue
Block a user