check if lazyset already contains user prior to querying
Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
parent
e2afaa9f03
commit
61174dd0d3
1 changed files with 4 additions and 0 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue