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:
B. Petersen
2020-11-09 22:22:19 +01:00
committed by link2xt
parent 1f4403d149
commit bd856d90db

View File

@@ -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,