mirror of
https://github.com/chatmail/core.git
synced 2026-05-05 14:26:30 +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 {
|
inner.accounts.push(AccountConfig {
|
||||||
id,
|
id,
|
||||||
name: String::new(),
|
|
||||||
dir: target_dir.into(),
|
dir: target_dir.into(),
|
||||||
uuid,
|
uuid,
|
||||||
});
|
});
|
||||||
@@ -414,8 +413,6 @@ impl Config {
|
|||||||
pub struct AccountConfig {
|
pub struct AccountConfig {
|
||||||
/// Unique id.
|
/// Unique id.
|
||||||
pub id: u32,
|
pub id: u32,
|
||||||
/// Display name
|
|
||||||
pub name: String,
|
|
||||||
/// Root directory for all data for this account.
|
/// Root directory for all data for this account.
|
||||||
pub dir: std::path::PathBuf,
|
pub dir: std::path::PathBuf,
|
||||||
pub uuid: Uuid,
|
pub uuid: Uuid,
|
||||||
|
|||||||
Reference in New Issue
Block a user