agendafs
A filesystem for your calendar.
git clone git://mccd.space/agendafscommit eaa4af3d8897dd42bd9512aec140be86c69a289b
parent f826e47cf5106cea57b3c46f90f35aa3936df377
Author: Marc Coquand <marc@coquand.email>
Date: Fri, 27 Jun 2025 14:53:45 +0100
Disable loading empty summaries
closes: ~marcc/agendafs/12
Diffstat:
1 file changed, 6 insertions(+), 0 deletions(-)
diff --git a/journal_entry.c b/journal_entry.c
@@ -458,9 +458,15 @@ parse_ics_to_journal_entry_component(const char *filename,
LOG("Not journal component");
return -2;
}
+ if (icalcomponent_get_summary(component) == NULL) {
+ LOG("No summary found");
+ return -2;
+ }
+
if (icalcomponent_get_description(component) == NULL) {
icalcomponent_set_description(component, "");
}
+
entry->component = component;
return 0;
}