diff options
author | Thorben Günther <admin@xenrox.net> | 2024-08-21 23:36:45 +0200 |
---|---|---|
committer | Robin Jarry <robin@jarry.cc> | 2024-08-24 15:49:17 +0200 |
commit | 940deec546c3723ed850ff27678678728e90fb78 (patch) | |
tree | 6c6ee2d1a90f90320c01ecaa83df245454b765b4 /worker/imap/fetch.go | |
parent | 2d9f949ac9a3369f81142ec7b138a5eadebafaeb (diff) | |
download | aerc-940deec546c3723ed850ff27678678728e90fb78.tar.gz |
notmuch: fix watcher path
The watcher path does not necessarily contain ".notmuch". From
notmuch-config(1):
Notmuch will store its database here,
(in sub-directory named .notmuch if database.mail_root is unset).
So we can simply check if the ".notmuch" folder exists and fallback to
the default path if it does not.
Signed-off-by: Thorben Günther <admin@xenrox.net>
Acked-by: Robin Jarry <robin@jarry.cc>
Diffstat (limited to 'worker/imap/fetch.go')
0 files changed, 0 insertions, 0 deletions