Skip to content

Commit af2a483

Browse files
committed
feat(sdk): Add debug! log when updating the sliding sync pos.
1 parent 753b0d8 commit af2a483

File tree

1 file changed

+2
-0
lines changed
  • crates/matrix-sdk/src/sliding_sync

1 file changed

+2
-0
lines changed

crates/matrix-sdk/src/sliding_sync/mod.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -364,6 +364,8 @@ impl SlidingSync {
364364
// Everything went well, we can update the position markers.
365365
//
366366
// Save the new position markers.
367+
debug!(previous_pos = position.pos, new_pos = pos, "Updating `pos`");
368+
367369
position.pos = pos;
368370

369371
Ok(update_summary)

0 commit comments

Comments
 (0)