mirror of
https://github.com/matrix-org/matrix-rust-sdk.git
synced 2026-08-02 10:57:33 -04:00
chore(sdk,ui): Fix typos.
This commit is contained in:
@@ -391,7 +391,7 @@ impl<P: RoomDataProvider> TimelineController<P> {
|
||||
}
|
||||
|
||||
TimelineFocus::Thread { root_event_id, .. } => TimelineFocusKind::Thread {
|
||||
event_cache: event_cache.thread(room_id, &root_event_id).await?.0,
|
||||
event_cache: event_cache.thread(room_id, root_event_id).await?.0,
|
||||
root_event_id: root_event_id.clone(),
|
||||
},
|
||||
|
||||
|
||||
@@ -366,7 +366,7 @@ impl<'c> ResetCaches<'c> {
|
||||
);
|
||||
}
|
||||
|
||||
// Now we can release the exclusive acces over the threads.
|
||||
// Now we can release the exclusive access over the threads.
|
||||
drop(threads_lock);
|
||||
}
|
||||
|
||||
|
||||
@@ -342,7 +342,7 @@ impl<'a> ThreadEventCacheStateLockReadGuard<'a> {
|
||||
//
|
||||
// TODO(@hywan): This is inefficient. We are bending the `LatestEvent` API here.
|
||||
// Ultimately, we want to delegate the computation of `ThreadSummary` to
|
||||
// `LatestEvent` instead of commiting crimes like these ones.
|
||||
// `LatestEvent` instead of committing crimes like these ones.
|
||||
let mut latest_event_id = self
|
||||
.thread_linked_chunk()
|
||||
.revents()
|
||||
|
||||
Reference in New Issue
Block a user