improve draft file ext

This commit is contained in:
Clément DOUIN 2022-03-12 00:49:51 +01:00
parent 6b042f5e6a
commit eb6f51456b
No known key found for this signature in database
GPG key ID: 353E4A18EE0FAB72

View file

@ -3,7 +3,7 @@ use log::{debug, trace};
use std::{env, fs, path::PathBuf};
pub fn local_draft_path() -> PathBuf {
let path = env::temp_dir().join("himalaya-draft.mail");
let path = env::temp_dir().join("himalaya-draft.eml");
trace!("local draft path: {:?}", path);
path
}