Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit bff8e5b8 authored by Ricki Hirner's avatar Ricki Hirner
Browse files

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

parent c5331a96
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -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
            }