@@ -26,10 +26,11 @@ use eyeball_im::{Vector, VectorDiff};
26
26
use futures_util:: Stream ;
27
27
#[ cfg( feature = "e2e-encryption" ) ]
28
28
use matrix_sdk_crypto:: {
29
- store:: DynCryptoStore , types:: events:: room_key_bundle:: RoomKeyBundleContent ,
30
- types:: requests:: ToDeviceRequest , CollectStrategy , EncryptionSettings , OlmError , OlmMachine ,
31
- TrustRequirement ,
29
+ store:: DynCryptoStore , types:: requests:: ToDeviceRequest , CollectStrategy , EncryptionSettings ,
30
+ OlmError , OlmMachine , TrustRequirement ,
32
31
} ;
32
+ #[ cfg( feature = "e2e-encryption" ) ]
33
+ use ruma:: events:: room:: { history_visibility:: HistoryVisibility , member:: MembershipState } ;
33
34
#[ cfg( doc) ]
34
35
use ruma:: DeviceId ;
35
36
use ruma:: {
@@ -44,11 +45,6 @@ use ruma::{
44
45
time:: Instant ,
45
46
OwnedRoomId , OwnedUserId , RoomId ,
46
47
} ;
47
- #[ cfg( feature = "e2e-encryption" ) ]
48
- use ruma:: {
49
- events:: room:: { history_visibility:: HistoryVisibility , member:: MembershipState } ,
50
- UserId ,
51
- } ;
52
48
use tokio:: sync:: { broadcast, Mutex } ;
53
49
#[ cfg( feature = "e2e-encryption" ) ]
54
50
use tokio:: sync:: { RwLock , RwLockReadGuard } ;
0 commit comments