Support optional device_id's in lazy-loading context.

Co-authored-by: Jade Ellis <jade@ellis.link>
Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
Jason Volk 2025-04-28 01:32:13 +00:00 committed by Jade Ellis
commit 1103cf7290
No known key found for this signature in database
GPG key ID: 8705A2A3EBF77BD2
4 changed files with 17 additions and 19 deletions

View file

@ -645,7 +645,7 @@ async fn load_joined_room(
let lazy_loading_context = &lazy_loading::Context {
user_id: sender_user,
device_id: sender_device,
device_id: Some(sender_device),
room_id,
token: Some(since),
options: Some(&filter.room.state.lazy_load_options),