mirror of
https://forgejo.ellis.link/continuwuation/continuwuity.git
synced 2026-05-26 20:49:55 +00:00
check if lazyset already contains user prior to querying
Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
@@ -192,6 +192,10 @@ pub(crate) async fn update_lazy(
|
|||||||
return lazy;
|
return lazy;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if lazy.contains(event.sender()) {
|
||||||
|
return lazy;
|
||||||
|
}
|
||||||
|
|
||||||
if !services
|
if !services
|
||||||
.rooms
|
.rooms
|
||||||
.lazy_loading
|
.lazy_loading
|
||||||
|
|||||||
Reference in New Issue
Block a user