mirror of
https://github.com/chatmail/core.git
synced 2026-04-23 00:16:34 +03:00
remove unused AccountConfig::name
the field was never set or read. to get the name for an account, use `dc_get_config(account, "displayname")`.
This commit is contained in:
@@ -347,7 +347,6 @@ impl Config {
|
||||
|
||||
inner.accounts.push(AccountConfig {
|
||||
id,
|
||||
name: String::new(),
|
||||
dir: target_dir.into(),
|
||||
uuid,
|
||||
});
|
||||
@@ -414,8 +413,6 @@ impl Config {
|
||||
pub struct AccountConfig {
|
||||
/// Unique id.
|
||||
pub id: u32,
|
||||
/// Display name
|
||||
pub name: String,
|
||||
/// Root directory for all data for this account.
|
||||
pub dir: std::path::PathBuf,
|
||||
pub uuid: Uuid,
|
||||
|
||||
Reference in New Issue
Block a user