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 VolkandJade Ellis authored and Jade Ellis committed 2025-07-02 18:58:17 +01:00
1 parent 49f7a2487f
commit 2051c22a28
4 files changed
+17 -19

No files matched your search

+1 -1
View File
@@ -111,7 +111,7 @@ pub(crate) async fn get_context_route(
let lazy_loading_context = lazy_loading::Context {
user_id: sender_user,
device_id: sender_device,
device_id: Some(sender_device),
room_id,
token: Some(base_count.into_unsigned()),
options: Some(&filter.lazy_load_options),