diff options
author | Manos Pitsidianakis <el13635@mail.ntua.gr> | 2020-01-02 00:07:19 +0200 |
---|---|---|
committer | Manos Pitsidianakis <el13635@mail.ntua.gr> | 2020-01-02 00:08:21 +0200 |
commit | 8694278369a312a1c4e605adedb7ed631c02c95a (patch) | |
tree | 1ed59609464687a9c320d211e312e930b758f6df /ui/src/conf/notifications.rs | |
parent | 3d84f3b9adaf97f10aa18aa24edc7234566eacaf (diff) |
ui: add auto_choose_multipart_alternative
Choose text/html by default if text/plain is empty in
multipart/alternative attachments
This happens in some newsletters I've come upon
Diffstat (limited to 'ui/src/conf/notifications.rs')
-rw-r--r-- | ui/src/conf/notifications.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/ui/src/conf/notifications.rs b/ui/src/conf/notifications.rs index beeac081..028d4fa9 100644 --- a/ui/src/conf/notifications.rs +++ b/ui/src/conf/notifications.rs @@ -20,7 +20,6 @@ */ use super::default_vals::internal_value_false; -use super::toggleflag_de; fn none() -> Option<String> { None @@ -38,7 +37,7 @@ pub struct NotificationsSettings { /// Default: None #[serde(default = "none")] pub xbiff_file_path: Option<String>, - #[serde(deserialize_with = "toggleflag_de", default = "internal_value_false")] + #[serde(default = "internal_value_false")] pub play_sound: super::ToggleFlag, #[serde(default = "none")] pub sound_file: Option<String>, |