summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/calendar/calendar.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/calendar/calendar.go b/lib/calendar/calendar.go
index d53aec5..dbce6bc 100644
--- a/lib/calendar/calendar.go
+++ b/lib/calendar/calendar.go
@@ -188,7 +188,7 @@ func (e *event) updateAttendees(status ics.ParticipationStatus, from string) {
var clean []ics.IANAProperty
for _, prop := range e.Properties {
if prop.IANAToken == string(ics.ComponentPropertyAttendee) {
- att := ics.Attendee{prop}
+ att := ics.Attendee{IANAProperty: prop}
if att.Email() != from {
continue
}