WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions crates/matrix-sdk-crypto/src/secret_storage.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,12 @@
//!
//! [spec]: https://spec.matrix.org/v1.8/client-server-api/#storage
// This is here because we have a zeroize(skip) further below, which incorrectly triggers a
// unused_assignments warning due to the macro not using a variable.
//
// This will be fixed once we bump Zeroize.
#![allow(unused_assignments)]

use std::fmt;

use hmac::Hmac;
Expand Down
4 changes: 4 additions & 0 deletions crates/matrix-sdk/src/encryption/recovery/types.rs
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,10 @@ pub(super) struct SecretStorageDisabledContent {}

/// A custom global account data event which tells us that a new backup should
/// not be automatically created.
///
/// This event is defined in [MSC4287].
///
/// [MSC4287]: https://github.com/matrix-org/matrix-spec-proposals/pull/4287
#[derive(Clone, Debug, Default, Deserialize, Serialize, EventContent)]
#[ruma_event(type = "m.org.matrix.custom.backup_disabled", kind = GlobalAccountData)]
pub(super) struct BackupDisabledContent {
Expand Down
Loading