From 7238d3ca2317ea2be66f59bbd30459500239e9dd Mon Sep 17 00:00:00 2001 From: Michael Goldenberg Date: Mon, 13 Oct 2025 15:10:26 -0400 Subject: [PATCH] refactor(indexeddb): remove indexed media content type synonym Signed-off-by: Michael Goldenberg --- .../src/media_store/serializer/indexed_types.rs | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/crates/matrix-sdk-indexeddb/src/media_store/serializer/indexed_types.rs b/crates/matrix-sdk-indexeddb/src/media_store/serializer/indexed_types.rs index cd78a5388..b3e89e631 100644 --- a/crates/matrix-sdk-indexeddb/src/media_store/serializer/indexed_types.rs +++ b/crates/matrix-sdk-indexeddb/src/media_store/serializer/indexed_types.rs @@ -76,9 +76,6 @@ pub type IndexedMediaCleanupTimeContent = MaybeEncrypted; /// [1]: crate::media_store::types::MediaMetadata pub type IndexedMediaMetadata = MaybeEncrypted; -/// A (possibly) encrypted representation of [`Media::content`] -pub type IndexedMediaContent = Vec; - /// A representation of the size in bytes of the [`IndexedMediaContent`] which /// is suitable for use in an IndexedDB key pub type IndexedMediaContentSize = usize; @@ -260,7 +257,7 @@ pub struct IndexedMedia { /// [1]: crate::media_store::types::MediaMetadata pub metadata: IndexedMediaMetadata, /// The (possibly) encrypted content - i.e., [`Media::content`] - pub content: IndexedMediaContent, + pub content: Vec, } #[derive(Debug, Error)]