matrix-sdk: Fix a bunch of typos
parent
3c9f929598
commit
10b38ce44e
|
@ -2000,7 +2000,7 @@ impl Client {
|
|||
#[cfg(feature = "encryption")]
|
||||
{
|
||||
// This is needed because sometimes we need to automatically
|
||||
// claim some one-time keys to unwedge an exisitng Olm session.
|
||||
// claim some one-time keys to unwedge an existing Olm session.
|
||||
if let Err(e) = self.claim_one_time_keys([].iter()).await {
|
||||
warn!("Error while claiming one-time keys {:?}", e);
|
||||
}
|
||||
|
@ -2562,7 +2562,10 @@ mod test {
|
|||
.create();
|
||||
|
||||
if Client::new_from_user_id(alice).await.is_ok() {
|
||||
panic!("Creating a client from a user ID should fail when the .well-known server returns no version infromation.");
|
||||
panic!(
|
||||
"Creating a client from a user ID should fail when the \
|
||||
.well-known server returns no version information."
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -122,7 +122,7 @@ pub enum Error {
|
|||
#[error(transparent)]
|
||||
CryptoStoreError(#[from] CryptoStoreError),
|
||||
|
||||
/// An error occured in the state store.
|
||||
/// An error occurred in the state store.
|
||||
#[error(transparent)]
|
||||
StateStore(#[from] StoreError),
|
||||
|
||||
|
|
|
@ -18,7 +18,7 @@ use matrix_sdk_base::crypto::{
|
|||
|
||||
use crate::{error::Result, Client};
|
||||
|
||||
/// An object controling the interactive verification flow.
|
||||
/// An object controlling the interactive verification flow.
|
||||
#[derive(Debug, Clone)]
|
||||
pub struct Sas {
|
||||
pub(crate) inner: BaseSas,
|
||||
|
|
|
@ -18,7 +18,7 @@ use matrix_sdk_base::{
|
|||
|
||||
use crate::{room::Joined, Result};
|
||||
|
||||
/// An object controling the interactive verification flow.
|
||||
/// An object controlling the interactive verification flow.
|
||||
#[derive(Debug, Clone)]
|
||||
pub struct VerificationRequest {
|
||||
pub(crate) inner: BaseVerificationRequest,
|
||||
|
|
|
@ -486,7 +486,7 @@ pub struct RoomInfo {
|
|||
pub summary: RoomSummary,
|
||||
/// Flag remembering if the room members are synced.
|
||||
pub members_synced: bool,
|
||||
/// The prev batch of this room we received durring the last sync.
|
||||
/// The prev batch of this room we received during the last sync.
|
||||
pub last_prev_batch: Option<String>,
|
||||
/// Base room info which holds some basic event contents important for the
|
||||
/// room state.
|
||||
|
|
|
@ -364,7 +364,7 @@ impl EventBuilder {
|
|||
}
|
||||
}
|
||||
|
||||
/// Embedded sync reponse files
|
||||
/// Embedded sync response files
|
||||
pub enum SyncResponseFile {
|
||||
All,
|
||||
Default,
|
||||
|
|
Loading…
Reference in New Issue