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>
This commit is contained in:
parent
dbc5bb41a5
commit
3f45dee237
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue