diff --git a/crates/matrix-sdk-base/src/response_processors/state_events.rs b/crates/matrix-sdk-base/src/response_processors/state_events.rs index 88bf1e2db..4a0857585 100644 --- a/crates/matrix-sdk-base/src/response_processors/state_events.rs +++ b/crates/matrix-sdk-base/src/response_processors/state_events.rs @@ -146,11 +146,7 @@ pub mod stripped { /// counterpart. /// * `room` - The [`Room`] to modify. /// * `room_info` - The current room's info. - /// * `push_rules` - The push rules for this room. - /// * `changes` - The accumulated list of changes to apply once the - /// processing is finished. /// * `notifications` - Notifications to post for the current room. - /// * `state_store` — The state store. #[instrument(skip_all, fields(room_id = ?room_info.room_id))] pub(crate) async fn dispatch_invite_or_knock( context: &mut Context, diff --git a/crates/matrix-sdk-base/src/sliding_sync.rs b/crates/matrix-sdk-base/src/sliding_sync.rs index a9774a162..95a3e5e88 100644 --- a/crates/matrix-sdk-base/src/sliding_sync.rs +++ b/crates/matrix-sdk-base/src/sliding_sync.rs @@ -211,7 +211,7 @@ impl BaseClient { ) .await; - // Rooms in `new_rooms.join` either have a timeline update, or a new read + // Rooms in `room_updates.joined` either have a timeline update, or a new read // receipt. Update the read receipt accordingly. // let user_id = &self.session_meta().expect("logged in user").user_id;