@@ -75,7 +75,6 @@ use xmtp_mls::mls_common::group::GroupMetadataOptions;
7575use xmtp_mls:: mls_common:: group_metadata:: GroupMetadata ;
7676use xmtp_mls:: mls_common:: group_mutable_metadata:: MessageDisappearingSettings ;
7777use xmtp_mls:: mls_common:: group_mutable_metadata:: MetadataField ;
78- use xmtp_mls:: utils:: events:: upload_debug_archive;
7978use xmtp_mls:: verified_key_package_v2:: { VerifiedKeyPackageV2 , VerifiedLifetime } ;
8079use xmtp_mls:: {
8180 client:: Client as MlsClient ,
@@ -285,7 +284,6 @@ pub async fn create_client(
285284 device_sync_server_url : Option < String > ,
286285 device_sync_mode : Option < FfiSyncWorkerMode > ,
287286 allow_offline : Option < bool > ,
288- disable_events : Option < bool > ,
289287 fork_recovery_opts : Option < FfiForkRecoveryOpts > ,
290288) -> Result < Arc < FfiXmtpClient > , GenericError > {
291289 let ident = account_identifier. clone ( ) ;
@@ -338,7 +336,6 @@ pub async fn create_client(
338336 . enable_api_debug_wrapper ( ) ?
339337 . with_remote_verifier ( ) ?
340338 . with_allow_offline ( allow_offline)
341- . with_disable_events ( disable_events)
342339 . store ( store) ;
343340
344341 if let Some ( sync_worker_mode) = device_sync_mode {
@@ -966,12 +963,6 @@ impl FfiXmtpClient {
966963 . map_err ( DeviceSyncError :: Archive ) ?;
967964 Ok ( importer. metadata . into ( ) )
968965 }
969-
970- /// Export an encrypted debug archive to a device sync server to inspect telemetry for debugging purposes.
971- pub async fn upload_debug_archive ( & self , server_url : String ) -> Result < String , GenericError > {
972- let db = self . inner_client . context . db ( ) ;
973- Ok ( upload_debug_archive ( db, Some ( server_url) ) . await ?)
974- }
975966}
976967
977968fn check_key ( mut key : Vec < u8 > ) -> Result < Vec < u8 > , GenericError > {
0 commit comments