aboutsummaryrefslogtreecommitdiff
path: root/aero-proto/src
diff options
context:
space:
mode:
authorQuentin Dufour <quentin@deuxfleurs.fr>2024-05-26 10:33:04 +0200
committerQuentin Dufour <quentin@deuxfleurs.fr>2024-05-26 10:33:04 +0200
commit6b9720844aaa86ad25a77c0821dcdbc772937065 (patch)
tree50559b9131be478d6907474e0f612e903ba44d34 /aero-proto/src
parent52f870633c2cab8a4aeeec74792774931139b8b5 (diff)
downloadaerogramme-6b9720844aaa86ad25a77c0821dcdbc772937065.tar.gz
aerogramme-6b9720844aaa86ad25a77c0821dcdbc772937065.zip
better support for time-range
Diffstat (limited to 'aero-proto/src')
-rw-r--r--aero-proto/src/dav/controller.rs6
1 files changed, 5 insertions, 1 deletions
diff --git a/aero-proto/src/dav/controller.rs b/aero-proto/src/dav/controller.rs
index 873f768..abf6a97 100644
--- a/aero-proto/src/dav/controller.rs
+++ b/aero-proto/src/dav/controller.rs
@@ -374,7 +374,11 @@ fn apply_filter<'a>(
tracing::debug!(filter=?root_filter, "calendar-query filter");
// Adjust return value according to filter
- match is_component_match(&fake_vcal_component, &[fake_vcal_component.clone()], root_filter) {
+ match is_component_match(
+ &fake_vcal_component,
+ &[fake_vcal_component.clone()],
+ root_filter,
+ ) {
true => Some(Ok(single_node)),
_ => None,
}