Skip to content

Commit

Permalink
!fixup add a comment.
Browse files Browse the repository at this point in the history
  • Loading branch information
Hywan committed Jul 1, 2024
1 parent fa1ea1d commit f614078
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion crates/matrix-sdk-base/src/sliding_sync.rs
Original file line number Diff line number Diff line change
Expand Up @@ -292,7 +292,12 @@ impl BaseClient {

trace!("ready to submit changes to store");
store.save_changes(&changes).await?;
self.apply_changes(&changes, true);
self.apply_changes(
&changes,
// The changes may result in a latest event update, which should trigger a room list
// re-ordering. This the room list should be notified by these changes.
true,
);
trace!("applied changes");

// Now that all the rooms information have been saved, update the display name
Expand Down

0 comments on commit f614078

Please sign in to comment.