CalDAV Scheduling - part 5

This commit is contained in:
mdecimus
2025-06-20 18:28:26 +02:00
parent 33a8e9c0db
commit 068457ea87
63 changed files with 2552 additions and 482 deletions

View File

@@ -611,6 +611,7 @@ pub async fn test(params: &JMAPTest) {
server
.deliver_message(IngestMessage {
sender_address: "bill@foobar.org".to_string(),
sender_authenticated: true,
recipients: vec!["john@foobar.org".to_string()],
message_blob: message_blob.clone(),
message_size: TEST_MESSAGE.len() as u64,
@@ -649,6 +650,7 @@ pub async fn test(params: &JMAPTest) {
server
.deliver_message(IngestMessage {
sender_address: "bill@foobar.org".to_string(),
sender_authenticated: true,
recipients: vec!["john@foobar.org".to_string()],
message_blob: message_blob.clone(),
message_size: TEST_MESSAGE.len() as u64,
@@ -674,6 +676,7 @@ pub async fn test(params: &JMAPTest) {
server
.deliver_message(IngestMessage {
sender_address: "bill@foobar.org".to_string(),
sender_authenticated: true,
recipients: vec!["john@foobar.org".to_string()],
message_blob,
message_size: TEST_MESSAGE.len() as u64,

View File

@@ -244,12 +244,13 @@ async fn test_multi_thread(params: &mut JMAPTest) {
.email_ingest(IngestEmail {
raw_message: message.contents(),
message: MessageParser::new().parse(message.contents()),
resource: AccessToken::from_id(0).as_resource_token(),
access_token: &AccessToken::from_id(0),
mailbox_ids: vec![mailbox_id],
keywords: vec![],
received_at: None,
source: IngestSource::Smtp {
deliver_to: "test@domain.org",
is_sender_authenticated: true,
},
spam_classify: false,
spam_train: false,