Calendar email notifications (#1514)

This commit is contained in:
mdecimus
2025-06-06 20:03:19 +02:00
parent 605101062a
commit 15dddc433a
54 changed files with 3851 additions and 816 deletions

View File

@@ -20,7 +20,7 @@ use email::message::{ingest::EmailIngest, metadata::MessageData};
use hyper::Method;
use jmap_proto::types::{collection::Collection, property::Property};
use serde_json::json;
use services::index::Indexer;
use services::task_manager::fts::FtsIndexTask;
use store::{
Serialize, rand,
write::{Archiver, BatchBuilder, ValueClass},
@@ -179,7 +179,7 @@ impl ManageStore for Server {
Some("lock-purge-account") => vec![KV_LOCK_PURGE_ACCOUNT].into(),
Some("lock-queue-message") => vec![KV_LOCK_QUEUE_MESSAGE].into(),
Some("lock-queue-report") => vec![KV_LOCK_QUEUE_REPORT].into(),
Some("lock-email-task") => vec![KV_LOCK_EMAIL_TASK].into(),
Some("lock-email-task") => vec![KV_LOCK_TASK].into(),
Some("lock-housekeeper") => vec![KV_LOCK_HOUSEKEEPER].into(),
_ => None,
};
@@ -228,7 +228,7 @@ impl ManageStore for Server {
let jmap = self.clone();
tokio::spawn(async move {
if let Err(err) = jmap.reindex(account_id, tenant_id).await {
if let Err(err) = jmap.fts_reindex(account_id, tenant_id).await {
trc::error!(err.details("Failed to reindex FTS"));
}
});