agendafs

A filesystem for your calendar.

git clone git://mccd.space/agendafs
commit 403e29a6f09583e227be1c32f3633de0eb15d34e
parent 615c92fbc8a02f9f7dec3d705800717d4a6ffceb
Author: Marc Coquand <marc@coquand.email>
Date:   Fri, 27 Jun 2025 16:18:36 +0100

fix: Load journal components, nothing else

Diffstat:
Mjournal_entry.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/journal_entry.c b/journal_entry.c
@@ -454,7 +454,7 @@ parse_ics_to_journal_entry_component(const char *filename,
 
 	// TODO: Support TODOs, EVENTs etc.
 	if (journal == NULL ||
-	    icalcomponent_isa(journal) == ICAL_VJOURNAL_COMPONENT) {
+	    icalcomponent_isa(journal) != ICAL_VJOURNAL_COMPONENT) {
 		LOG("Not journal component");
 		return -2;
 	}