server: poll for new messages and update clients via WS

This commit is contained in:
2025-04-15 11:48:06 -07:00
parent 0662e6230e
commit 6f93aa4f34
10 changed files with 77 additions and 46 deletions

View File

@@ -470,7 +470,7 @@ pub enum NotmuchError {
MailParseError(#[from] mailparse::MailParseError),
}
#[derive(Default)]
#[derive(Clone, Default)]
pub struct Notmuch {
config_path: Option<PathBuf>,
}