@@ -39,24 +39,18 @@ pub(super) use self::updates::PinnedEventsCacheUpdateSender;
3939#[ cfg( feature = "e2e-encryption" ) ]
4040use super :: super :: redecryptor:: ResolvedUtd ;
4141use super :: {
42- super :: { EventCacheError , EventsOrigin , Result , persistence:: send_updates_to_store} ,
43- TimelineVectorDiffs ,
44- event_linked_chunk:: EventLinkedChunk ,
42+ super :: {
43+ EventCacheError , EventsOrigin , Result ,
44+ deduplicator:: { DeduplicationOutcome , filter_duplicate_events} ,
45+ persistence:: { find_event, send_updates_to_store} ,
46+ } ,
47+ EventLocation , TimelineVectorDiffs ,
48+ event_linked_chunk:: { EventLinkedChunk , sort_positions_descending} ,
4549 lock,
4650 lock:: Reload as _,
4751 room:: RoomEventCacheLinkedChunkUpdate ,
4852} ;
49- use crate :: {
50- Room ,
51- client:: WeakClient ,
52- config:: RequestConfig ,
53- event_cache:: {
54- caches:: { EventLocation , event_linked_chunk:: sort_positions_descending} ,
55- deduplicator:: { DeduplicationOutcome , filter_duplicate_events} ,
56- persistence:: find_event,
57- } ,
58- room:: WeakRoom ,
59- } ;
53+ use crate :: { Room , client:: WeakClient , config:: RequestConfig , room:: WeakRoom } ;
6054
6155pub ( in super :: super ) struct PinnedEventsCacheState {
6256 /// The ID of the room owning this list of pinned events.
0 commit comments