mirror of
https://github.com/soywod/himalaya.git
synced 2025-04-22 17:23:27 +00:00
make mdir inbox condition case insensitive
This commit is contained in:
parent
984eb8c9f7
commit
d79c6c40a7
1 changed files with 1 additions and 1 deletions
|
@ -43,7 +43,7 @@ impl<'a> MaildirBackend<'a> {
|
|||
pub fn get_mdir_from_dir(&self, dir: &str) -> Result<maildir::Maildir> {
|
||||
// If the dir points to the inbox folder, creates a maildir
|
||||
// instance from the root folder.
|
||||
if dir == "inbox" {
|
||||
if dir.to_lowercase() == "inbox" {
|
||||
self.validate_mdir_path(self.mdir.path().to_owned())
|
||||
.map(maildir::Maildir::from)
|
||||
} else {
|
||||
|
|
Loading…
Add table
Reference in a new issue