@@ -23,7 +23,6 @@ use crate::imap::{FolderMeaning, Imap, ServerMetadata};
2323use crate :: key:: self_fingerprint;
2424use crate :: log:: warn;
2525use crate :: logged_debug_assert;
26- use crate :: login_param:: EnteredLoginParam ;
2726use crate :: message:: { self , MessageState , MsgId } ;
2827use crate :: net:: tls:: TlsSessionStore ;
2928use crate :: peer_channels:: Iroh ;
@@ -816,11 +815,6 @@ impl Context {
816815
817816 /// Returns information about the context as key-value pairs.
818817 pub async fn get_info ( & self ) -> Result < BTreeMap < & ' static str , String > > {
819- let l = EnteredLoginParam :: load ( self ) . await ?;
820- let l2 = ConfiguredLoginParam :: load ( self ) . await ?. map_or_else (
821- || "Not configured" . to_string ( ) ,
822- |( _transport_id, param) | param. to_string ( ) ,
823- ) ;
824818 let secondary_addrs = self . get_secondary_self_addrs ( ) . await ?. join ( ", " ) ;
825819 let all_transports: Vec < String > = ConfiguredLoginParam :: load_all ( self )
826820 . await ?
@@ -910,8 +904,6 @@ impl Context {
910904 . unwrap_or_else ( || "<unset>" . to_string ( ) ) ,
911905 ) ;
912906 res. insert ( "proxy_enabled" , proxy_enabled. to_string ( ) ) ;
913- res. insert ( "entered_account_settings" , l. to_string ( ) ) ;
914- res. insert ( "used_account_settings" , l2) ;
915907 res. insert ( "used_transport_settings" , all_transports) ;
916908
917909 if let Some ( server_id) = & * self . server_id . read ( ) . await {
0 commit comments