diff --git a/deltachat-jsonrpc/src/api/types/account.rs b/deltachat-jsonrpc/src/api/types/account.rs index 345af666a..418eb494a 100644 --- a/deltachat-jsonrpc/src/api/types/account.rs +++ b/deltachat-jsonrpc/src/api/types/account.rs @@ -13,7 +13,6 @@ pub enum Account { Configured { id: u32, display_name: Option, - addr: Option, // size: u32, profile_image: Option, color: String, @@ -29,7 +28,6 @@ impl Account { pub async fn from_context(ctx: &deltachat::context::Context, id: u32) -> Result { if ctx.is_configured().await? { let display_name = ctx.get_config(Config::Displayname).await?; - let addr = ctx.get_config(Config::Addr).await?; let profile_image = ctx.get_config(Config::Selfavatar).await?; let color = color_int_to_hex_string( Contact::get_by_id(ctx, ContactId::SELF) @@ -41,7 +39,6 @@ impl Account { Ok(Account::Configured { id, display_name, - addr, profile_image, color, private_tag,