Use separate account for master user

This commit is contained in:
mdecimus
2024-05-19 16:09:52 +02:00
parent 66cc0a3072
commit bd4a2f5956
3 changed files with 55 additions and 30 deletions

View File

@@ -396,6 +396,14 @@ impl JMAP {
return Ok(());
}
tracing::debug!(
event = "info",
context = "email_auto_expunge",
account_id = account_id,
count = destroy_ids.len(),
"Auto-expunging messages."
);
// Tombstone messages
let (changes, _) = self.emails_tombstone(account_id, destroy_ids).await?;
@@ -436,6 +444,14 @@ impl JMAP {
return Ok(());
}
tracing::debug!(
event = "info",
context = "email_purge_tombstoned",
account_id = account_id,
count = tombstoned_ids.len(),
"Purging tombstoned messages."
);
// Delete full-text index
self.core
.storage