matrix_sdk: Fix import error
parent
0ac2b84c02
commit
33e1601004
|
@ -26,20 +26,8 @@ use std::{
|
||||||
|
|
||||||
#[cfg(feature = "encryption")]
|
#[cfg(feature = "encryption")]
|
||||||
use matrix_sdk_common::locks::Mutex;
|
use matrix_sdk_common::locks::Mutex;
|
||||||
#[cfg(feature = "encryption")]
|
|
||||||
use matrix_sdk_common::{
|
use matrix_sdk_common::{
|
||||||
api::r0 as api,
|
api::r0 as api,
|
||||||
api::r0::keys::{
|
|
||||||
claim_keys::Response as KeysClaimResponse, get_keys::Response as KeysQueryResponse,
|
|
||||||
upload_keys::Response as KeysUploadResponse, DeviceKeys, KeyAlgorithm,
|
|
||||||
},
|
|
||||||
api::r0::to_device::send_event_to_device,
|
|
||||||
events::room::{
|
|
||||||
encrypted::EncryptedEventContent, message::MessageEventContent as MsgEventContent,
|
|
||||||
},
|
|
||||||
identifiers::DeviceId,
|
|
||||||
};
|
|
||||||
use matrix_sdk_common::{
|
|
||||||
events::{
|
events::{
|
||||||
ignored_user_list::IgnoredUserListEvent, push_rules::PushRulesEvent,
|
ignored_user_list::IgnoredUserListEvent, push_rules::PushRulesEvent,
|
||||||
room::member::MemberEventContent, AnyBasicEvent, AnyStrippedStateEvent,
|
room::member::MemberEventContent, AnyBasicEvent, AnyStrippedStateEvent,
|
||||||
|
@ -51,6 +39,18 @@ use matrix_sdk_common::{
|
||||||
Raw,
|
Raw,
|
||||||
};
|
};
|
||||||
#[cfg(feature = "encryption")]
|
#[cfg(feature = "encryption")]
|
||||||
|
use matrix_sdk_common::{
|
||||||
|
api::r0::keys::{
|
||||||
|
claim_keys::Response as KeysClaimResponse, get_keys::Response as KeysQueryResponse,
|
||||||
|
upload_keys::Response as KeysUploadResponse, DeviceKeys, KeyAlgorithm,
|
||||||
|
},
|
||||||
|
api::r0::to_device::send_event_to_device,
|
||||||
|
events::room::{
|
||||||
|
encrypted::EncryptedEventContent, message::MessageEventContent as MsgEventContent,
|
||||||
|
},
|
||||||
|
identifiers::DeviceId,
|
||||||
|
};
|
||||||
|
#[cfg(feature = "encryption")]
|
||||||
use matrix_sdk_crypto::{CryptoStore, OlmError, OlmMachine, OneTimeKeys};
|
use matrix_sdk_crypto::{CryptoStore, OlmError, OlmMachine, OneTimeKeys};
|
||||||
use zeroize::Zeroizing;
|
use zeroize::Zeroizing;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue