diff --git a/config/version b/config/version index 9eadd6ba..d2c4b271 100644 --- a/config/version +++ b/config/version @@ -1 +1 @@ -1.8.6 \ No newline at end of file +1.8.7 \ No newline at end of file diff --git a/web/service/inbound.go b/web/service/inbound.go index e6a4d241..1f29d1b7 100644 --- a/web/service/inbound.go +++ b/web/service/inbound.go @@ -98,8 +98,9 @@ func (s *InboundService) getAllEmails() ([]string, error) { } func (s *InboundService) contains(slice []string, str string) bool { + lowerStr := strings.ToLower(str) for _, s := range slice { - if s == str { + if strings.ToLower(s) == lowerStr { return true } }