aboutsummaryrefslogtreecommitdiffstats
path: root/lib/calendar
diff options
context:
space:
mode:
Diffstat (limited to 'lib/calendar')
-rw-r--r--lib/calendar/calendar.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/calendar/calendar.go b/lib/calendar/calendar.go
index c15e0351..a4a62016 100644
--- a/lib/calendar/calendar.go
+++ b/lib/calendar/calendar.go
@@ -167,8 +167,9 @@ type event struct {
func (e *event) isReplyRequested(from string) error {
var present bool = false
var rsvp bool = false
+ from = strings.ToLower(from)
for _, a := range e.Attendees() {
- if a.Email() == from {
+ if strings.ToLower(a.Email()) == from {
present = true
if r, ok := a.ICalParameters[string(ics.ParameterRsvp)]; ok {
if len(r) > 0 && strings.ToLower(r[0]) == "true" {