CalDAV Scheduling - part 6
This commit is contained in:
4
crates/groupware/src/cache/calcard.rs
vendored
4
crates/groupware/src/cache/calcard.rs
vendored
@@ -228,7 +228,7 @@ pub(super) async fn build_scheduling_resources(
|
||||
cache.paths.insert(path);
|
||||
cache
|
||||
.resources
|
||||
.push(resource_from_scheduling(document_id, false));
|
||||
.push(resource_from_scheduling(document_id, is_container));
|
||||
}
|
||||
|
||||
Ok(cache)
|
||||
@@ -360,7 +360,7 @@ pub(super) fn path_from_scheduling(
|
||||
}
|
||||
} else {
|
||||
DavPath {
|
||||
path: format!("inbox/{document_id}"),
|
||||
path: format!("inbox/{document_id}.ics"),
|
||||
parent_id: Some(SCHEDULE_INBOX_ID),
|
||||
hierarchy_seq: 0,
|
||||
resource_idx,
|
||||
|
||||
@@ -414,7 +414,7 @@ impl ItipIngest for Server {
|
||||
|
||||
let todo = "use templates";
|
||||
Ok(format!(
|
||||
"RSVP response recorded: {}",
|
||||
"RSVP response recorded: {summary:?} {}",
|
||||
rsvp.partstat.as_str()
|
||||
))
|
||||
} else {
|
||||
|
||||
@@ -142,7 +142,7 @@ pub enum ItipError {
|
||||
AutoAddDisabled,
|
||||
}
|
||||
|
||||
#[derive(rkyv::Archive, rkyv::Deserialize, rkyv::Serialize)]
|
||||
#[derive(Debug, rkyv::Archive, rkyv::Deserialize, rkyv::Serialize)]
|
||||
pub struct ItipMessage<T> {
|
||||
pub method: ICalendarMethod,
|
||||
pub from: String,
|
||||
|
||||
Reference in New Issue
Block a user