Fix typos
This commit is contained in:
parent
eb5af4287f
commit
b3017a1073
|
@ -51,7 +51,7 @@ You can stay informed about updates on the access token by listening to `client.
|
|||
- [`MessageOptions`][message options] has been updated to Matrix 1.3 by making the `from` parameter optional (and function signatures have been updated, too). You can now request the server sends you messages from the first one you are allowed to have received.
|
||||
- `client.user_id()` is not a `future` anymore. Remove any `.await` you had behind it.
|
||||
- `verified()`, `blacklisted()` and `deleted()` on `matrix_sdk::encryption::identities::Device` have been renamed with a `is_` prefix.
|
||||
- `verified()` on `matrix_sdk::encryption::identities::UserIdentity`, too has been prefixed with `is_` and thus is onw called `is_verified()`.
|
||||
- `verified()` on `matrix_sdk::encryption::identities::UserIdentity`, too has been prefixed with `is_` and thus is now called `is_verified()`.
|
||||
- The top-level crypto and state-store types of Indexeddb and Sled have been renamed to unique types>
|
||||
- `state_store` and `crypto_store` do not need to be boxed anymore when passed to the [`StoreConfig`][store config]
|
||||
- Indexeddb's `SerializationError` is now `IndexedDBStoreError`
|
||||
|
|
|
@ -2757,7 +2757,7 @@ pub(crate) mod tests {
|
|||
}
|
||||
|
||||
#[async_test]
|
||||
async fn test_verication_states_multiple_device() {
|
||||
async fn test_verification_states_multiple_device() {
|
||||
let (bob, _) = get_prepared_machine().await;
|
||||
|
||||
let other_user_id = user_id!("@web2:localhost:8482");
|
||||
|
|
|
@ -482,7 +482,7 @@ impl Store {
|
|||
}
|
||||
|
||||
#[cfg(test)]
|
||||
/// Testing helper to allo to save only a set of InboundGroupSession
|
||||
/// Testing helper to allow to save only a set of InboundGroupSession
|
||||
pub(crate) async fn save_inbound_group_sessions(
|
||||
&self,
|
||||
sessions: &[InboundGroupSession],
|
||||
|
|
|
@ -205,7 +205,7 @@ pub struct RoomEncryptedEventContent {
|
|||
#[serde(rename = "m.relates_to", skip_serializing_if = "Option::is_none")]
|
||||
pub relates_to: Option<Value>,
|
||||
|
||||
/// The other data of the encryped content.
|
||||
/// The other data of the encrypted content.
|
||||
#[serde(flatten)]
|
||||
pub(crate) other: BTreeMap<String, Value>,
|
||||
}
|
||||
|
@ -318,7 +318,7 @@ pub struct MegolmV2AesSha2Content {
|
|||
pub struct UnknownEncryptedContent {
|
||||
/// The algorithm that was used to encrypt the given event content.
|
||||
pub algorithm: EventEncryptionAlgorithm,
|
||||
/// The other data of the unknown encryped content.
|
||||
/// The other data of the unknown encrypted content.
|
||||
#[serde(flatten)]
|
||||
other: BTreeMap<String, Value>,
|
||||
}
|
||||
|
|
|
@ -186,7 +186,7 @@ pub(super) async fn restore_sliding_sync_state(
|
|||
// state.
|
||||
Some(Err(_)) => {
|
||||
warn!(
|
||||
"failed to deserialize `SlidingSync` from the cache, it is obsolote; removing the cache entry!"
|
||||
"failed to deserialize `SlidingSync` from the cache, it is obsolete; removing the cache entry!"
|
||||
);
|
||||
|
||||
// Let's clear everything and stop here.
|
||||
|
|
|
@ -1066,7 +1066,7 @@ mod tests {
|
|||
|
||||
// If there's a to-device `since` token, we make sure we put the token
|
||||
// into the extension config. The rest doesn't need to be re-enabled due to
|
||||
// stickyness.
|
||||
// stickiness.
|
||||
let since_token = "since";
|
||||
sync.inner.position.write().unwrap().to_device_token = Some(since_token.to_owned());
|
||||
|
||||
|
|
|
@ -47,7 +47,7 @@ pub async fn get_client_for_user(username: String, use_sqlite_store: bool) -> Re
|
|||
let tmp_dir = tempdir()?;
|
||||
|
||||
let client_builder = Client::builder()
|
||||
.user_agent("matrix-sdk-integation-tests")
|
||||
.user_agent("matrix-sdk-integration-tests")
|
||||
.homeserver_url(homeserver_url)
|
||||
.request_config(RequestConfig::short_retry());
|
||||
let client = if use_sqlite_store {
|
||||
|
|
Loading…
Reference in New Issue