diff options
author | Moritz Poldrack <git@moritz.sh> | 2022-06-22 12:25:58 +0200 |
---|---|---|
committer | Robin Jarry <robin@jarry.cc> | 2022-06-24 21:08:21 +0200 |
commit | 3f45dee237a076b009e1284bc9784f5f7a07df97 (patch) | |
tree | b3450a1c6054b84d091bf73f6548b66952b4d4e7 /lib | |
parent | dbc5bb41a51be1433813761e5cc8221e06b89229 (diff) | |
download | aerc-3f45dee237a076b009e1284bc9784f5f7a07df97.tar.gz |
calendar: fix go vet error
Fix the following go vet error:
lib/calendar/calendar.go:191:11: github.com/arran4/golang-ical.Attendee
composite literal uses unkeyed fields
Signed-off-by: Moritz Poldrack <git@moritz.sh>
Acked-by: Robin Jarry <robin@jarry.cc>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/calendar/calendar.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/calendar/calendar.go b/lib/calendar/calendar.go index d53aec5b..dbce6bce 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 } |