File tree Expand file tree Collapse file tree
crates/matrix-sdk/src/event_cache/caches/pinned_events Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -47,7 +47,6 @@ use super::{
4747 EventLocation , TimelineVectorDiffs ,
4848 event_linked_chunk:: { EventLinkedChunk , sort_positions_descending} ,
4949 lock,
50- lock:: Reload as _,
5150 room:: RoomEventCacheLinkedChunkUpdate ,
5251} ;
5352use crate :: { Room , client:: WeakClient , config:: RequestConfig , room:: WeakRoom } ;
@@ -760,14 +759,6 @@ impl PinnedEventsCache {
760759
761760 Ok ( Some ( loaded_events) )
762761 }
763-
764- /// Force to reload the pinned events.
765- //
766- // TODO(@hywan): Temporary fix. All the states must be in a single struct behind
767- // the cross-process lock instead of being dispatched in each cache.
768- pub ( super ) async fn reload ( & self ) -> Result < ( ) > {
769- self . inner . state . write ( ) . await ?. reload ( ) . await
770- }
771762}
772763
773764impl fmt:: Debug for PinnedEventsCache {
You can’t perform that action at this time.
0 commit comments