diff options
author | Milan Crha <mcrha@redhat.com> | 2011-03-03 21:11:41 +0800 |
---|---|---|
committer | Milan Crha <mcrha@redhat.com> | 2011-03-03 21:13:33 +0800 |
commit | f1e416438026e495a29ca36715e27964f7dc4b04 (patch) | |
tree | 6c85cc847fc857634870bc5dd644a3be342f2c3a /mail/e-mail-store.c | |
parent | 0be641ea82d61a5967d4f34dde9bc3bbbb9aa7cf (diff) | |
download | gsoc2013-evolution-f1e416438026e495a29ca36715e27964f7dc4b04.tar.gz gsoc2013-evolution-f1e416438026e495a29ca36715e27964f7dc4b04.tar.zst gsoc2013-evolution-f1e416438026e495a29ca36715e27964f7dc4b04.zip |
Bug #643218 - Local delivery doesn't deliver after maildir migration
Diffstat (limited to 'mail/e-mail-store.c')
-rw-r--r-- | mail/e-mail-store.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/mail/e-mail-store.c b/mail/e-mail-store.c index 9dfaab693b..e5607ef1a3 100644 --- a/mail/e-mail-store.c +++ b/mail/e-mail-store.c @@ -30,6 +30,7 @@ #include "mail/e-mail-local.h" #include "mail/em-folder-tree-model.h" +#include "mail/em-utils.h" #include "mail/mail-folder-cache.h" #include "mail/mail-mt.h" #include "mail/mail-ops.h" @@ -251,6 +252,10 @@ mail_store_load_accounts (EMailSession *session, if (uri == NULL || *uri == '\0') continue; + /* do not add local-delivery files into the tree those are server specifically */ + if (em_utils_is_local_delivery_mbox_file (uri)) + continue; + e_mail_store_add_by_uri (session, uri, display_name); } |