Skip to content

Commit a600c49

Browse files
committed
fixup! sdk: send out the to-device requests created by Room::share_history
1 parent 43eae85 commit a600c49

File tree

1 file changed

+4
-8
lines changed

1 file changed

+4
-8
lines changed

crates/matrix-sdk-base/src/client.rs

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,11 @@ use eyeball_im::{Vector, VectorDiff};
2626
use futures_util::Stream;
2727
#[cfg(feature = "e2e-encryption")]
2828
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,
3231
};
32+
#[cfg(feature = "e2e-encryption")]
33+
use ruma::events::room::{history_visibility::HistoryVisibility, member::MembershipState};
3334
#[cfg(doc)]
3435
use ruma::DeviceId;
3536
use ruma::{
@@ -44,11 +45,6 @@ use ruma::{
4445
time::Instant,
4546
OwnedRoomId, OwnedUserId, RoomId,
4647
};
47-
#[cfg(feature = "e2e-encryption")]
48-
use ruma::{
49-
events::room::{history_visibility::HistoryVisibility, member::MembershipState},
50-
UserId,
51-
};
5248
use tokio::sync::{broadcast, Mutex};
5349
#[cfg(feature = "e2e-encryption")]
5450
use tokio::sync::{RwLock, RwLockReadGuard};

0 commit comments

Comments
 (0)