melib/backends.rs: fix notmuch error shown on any missing backend
parent
e450ad0f9c
commit
c6bdda03cf
|
@ -245,7 +245,7 @@ impl Backends {
|
|||
""
|
||||
},
|
||||
key,
|
||||
if cfg!(feature = "notmuch_backend") {
|
||||
if cfg!(feature = "notmuch_backend") && key == "notmuch" {
|
||||
NOTMUCH_ERROR_DETAILS
|
||||
} else {
|
||||
""
|
||||
|
|
Loading…
Reference in New Issue