agendafs

A filesystem for your calendar.

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

Don't append .txt

Add proper support later

References: https://todo.sr.ht/~marcc/agendafs/5

Diffstat:
Mjournal_entry.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/journal_entry.c b/journal_entry.c
@@ -535,7 +535,7 @@ load_journal_entry_from_ics_file(char *filename, struct journal_entry *entry)
 
 	// TODO: Enable custom fileformats by storing them in a
 	// X-CALDAVFS-EXTENSION format
-	else if (asprintf(&entry->filename, "%s.txt",
+	else if (asprintf(&entry->filename, "%s",
 			  icalcomponent_get_summary(entry->component)) == -1) {
 		LOG("Failed to write filename");
 		return -1;