diff options
author | Koni Marti <koni.marti@gmail.com> | 2023-05-16 17:57:58 +0200 |
---|---|---|
committer | Robin Jarry <robin@jarry.cc> | 2023-05-20 22:09:43 +0200 |
commit | e32421b81f1506cff1db2c9be42754757957c072 (patch) | |
tree | d3af95e32c6cc3ac86222ef0f8752dce08a15c9b /worker/maildir | |
parent | 916bca33ea6cf2530117071fdd9b7b15e00e2f29 (diff) | |
download | aerc-e32421b81f1506cff1db2c9be42754757957c072.tar.gz |
maildirpp: fix path separator
Fix path separator for the maildir++ backend. Maildir++ already
substitutes '.' for os.PathSeparator. Returning '.' will thus break the
directory tree and the other logic for this backend.
Fixes: 2040fc18 ("imap: use delimiter from server")
Signed-off-by: Koni Marti <koni.marti@gmail.com>
Acked-by: Robin Jarry <robin@jarry.cc>
Diffstat (limited to 'worker/maildir')
-rw-r--r-- | worker/maildir/worker.go | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/worker/maildir/worker.go b/worker/maildir/worker.go index c45992eb..1912cace 100644 --- a/worker/maildir/worker.go +++ b/worker/maildir/worker.go @@ -111,9 +111,6 @@ func (w *Worker) Capabilities() *models.Capabilities { } func (w *Worker) PathSeparator() string { - if w.maildirpp { - return "." - } return string(os.PathSeparator) } |