mirror of
https://github.com/chatmail/core.git
synced 2026-05-02 21:06:31 +03:00
fix: Context::get_info: Report displayname as "displayname" (w/o underscore)
Otherwise the user thinks that the config key is "display_name" and can't change it using `set display_name` command.
This commit is contained in:
@@ -239,7 +239,7 @@ describe('Basic offline Tests', function () {
|
|||||||
'delete_device_after',
|
'delete_device_after',
|
||||||
'delete_server_after',
|
'delete_server_after',
|
||||||
'deltachat_core_version',
|
'deltachat_core_version',
|
||||||
'display_name',
|
'displayname',
|
||||||
'download_limit',
|
'download_limit',
|
||||||
'e2ee_enabled',
|
'e2ee_enabled',
|
||||||
'entered_account_settings',
|
'entered_account_settings',
|
||||||
|
|||||||
@@ -715,7 +715,7 @@ impl Context {
|
|||||||
);
|
);
|
||||||
res.insert("journal_mode", journal_mode);
|
res.insert("journal_mode", journal_mode);
|
||||||
res.insert("blobdir", self.get_blobdir().display().to_string());
|
res.insert("blobdir", self.get_blobdir().display().to_string());
|
||||||
res.insert("display_name", displayname.unwrap_or_else(|| unset.into()));
|
res.insert("displayname", displayname.unwrap_or_else(|| unset.into()));
|
||||||
res.insert(
|
res.insert(
|
||||||
"selfavatar",
|
"selfavatar",
|
||||||
self.get_config(Config::Selfavatar)
|
self.get_config(Config::Selfavatar)
|
||||||
|
|||||||
Reference in New Issue
Block a user