Commit bff8e5b8 authored by Ricki Hirner's avatar Ricki Hirner

If SUMMARY is not set in a recurring event's exception, copy it from the recurring event itself

parent c5331a96
......@@ -141,6 +141,10 @@ class Event: iCalendar() {
exceptions[uid]?.let { eventExceptions ->
event.exceptions.addAll(eventExceptions.map { (_,it) -> fromVEvent(it) })
}
// make sure that exceptions have at least a SUMMARY
event.exceptions.forEach { it.summary = it.summary ?: event.summary }
events += event
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment