client: Fix compilation when the encryption feature is disabled

This commit is contained in:
Damir Jelić 2021-06-17 12:35:37 +02:00
parent 3cf843d24f
commit 0fb3dedd1c
2 changed files with 3 additions and 2 deletions

View file

@ -2702,6 +2702,7 @@ impl Client {
self.send(request, None).await
}
#[cfg(feature = "encryption")]
pub(crate) async fn send_verification_request(
&self,
request: matrix_sdk_base::crypto::OutgoingVerificationRequest,

View file

@ -560,13 +560,13 @@ impl StateStore for MemoryStore {
#[cfg(test)]
#[cfg(not(feature = "sled_state_store"))]
mod test {
use matrix_sdk_common::{
use matrix_sdk_test::async_test;
use ruma::{
api::client::r0::media::get_content_thumbnail::Method,
identifiers::{event_id, mxc_uri, room_id, user_id, UserId},
receipt::ReceiptType,
uint,
};
use matrix_sdk_test::async_test;
use serde_json::json;
use super::{MemoryStore, StateChanges};