mirror of
https://github.com/lennart-k/rustical.git
synced 2025-12-14 07:02:24 +00:00
Support read-only calendar store as preparation for birthday calendars
This commit is contained in:
@@ -122,7 +122,10 @@ impl<C: CalendarStore + ?Sized> ResourceService for PrincipalResourceService<C>
|
||||
.map(|cal| {
|
||||
(
|
||||
CalendarResource::get_url(rmap, vec![principal, &cal.id]).unwrap(),
|
||||
cal.into(),
|
||||
CalendarResource {
|
||||
cal,
|
||||
read_only: self.cal_store.is_read_only(),
|
||||
},
|
||||
)
|
||||
})
|
||||
.collect())
|
||||
|
||||
Reference in New Issue
Block a user