From 8ff38d603eac93fe6fda2d14d84bcedce7fb8f0a Mon Sep 17 00:00:00 2001 From: Alireza Ahmadi Date: Thu, 10 Oct 2024 16:15:43 +0200 Subject: [PATCH] v1.8.7 --- config/version | 2 +- web/service/inbound.go | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) 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 } }