Skip to content

Commit

Permalink
also block this off
Browse files Browse the repository at this point in the history
  • Loading branch information
codabrink committed Jan 17, 2025
1 parent f4e0a40 commit 7912ab1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
1 change: 1 addition & 0 deletions xmtp_mls/src/groups/device_sync/backup.rs
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ impl From<BackupOptions> for BackupMetadata {
}

impl BackupOptions {
#[cfg(not(target_arch = "wasm32"))]
pub async fn export_to_file(
self,
provider: XmtpOpenMlsProvider,
Expand Down
5 changes: 1 addition & 4 deletions xmtp_mls/src/groups/device_sync/backup/backup_importer.rs
Original file line number Diff line number Diff line change
@@ -1,17 +1,14 @@
use super::BackupError;
use crate::{
groups::device_sync::DeviceSyncError,
storage::{
consent_record::StoredConsentRecord, group::StoredGroup, group_message::StoredGroupMessage,
DbConnection, ProviderTransactions, StorageError,
},
Store, XmtpOpenMlsProvider,
};
use async_compression::futures::bufread::ZstdDecoder;
use futures::{io::BufReader, AsyncBufRead, AsyncRead, AsyncReadExt};
use futures::{AsyncBufRead, AsyncReadExt};
use prost::Message;
use std::pin::Pin;
use tokio_util::compat::{FuturesAsyncReadCompatExt, TokioAsyncReadCompatExt};
use xmtp_proto::xmtp::device_sync::{backup_element::Element, BackupElement, BackupMetadata};

#[cfg(not(target_arch = "wasm32"))]
Expand Down

0 comments on commit 7912ab1

Please sign in to comment.