File tree Expand file tree Collapse file tree 2 files changed +3
-0
lines changed
crates/matrix-sdk-indexeddb/src/event_cache_store Expand file tree Collapse file tree 2 files changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -177,6 +177,7 @@ impl_event_cache_store! {
177
177
. add_item(
178
178
room_id,
179
179
& types:: Gap {
180
+ room_id: room_id. to_owned( ) ,
180
181
chunk_identifier: new. index( ) ,
181
182
prev_token: gap. prev_token,
182
183
} ,
Original file line number Diff line number Diff line change @@ -181,6 +181,8 @@ impl From<matrix_sdk_base::linked_chunk::Position> for Position {
181
181
/// which can be stored in IndexedDB.
182
182
#[ derive( Debug , Serialize , Deserialize ) ]
183
183
pub struct Gap {
184
+ /// The room in which the gap exists.
185
+ pub room_id : OwnedRoomId ,
184
186
/// The identifier of the chunk containing this gap.
185
187
pub chunk_identifier : u64 ,
186
188
/// The token to use in the query, extracted from a previous "from" /
You can’t perform that action at this time.
0 commit comments