This commit is contained in:
Alireza Ahmadi
2024-10-10 16:15:43 +02:00
parent 56c5b0d507
commit 8ff38d603e
2 changed files with 3 additions and 2 deletions

View File

@@ -1 +1 @@
1.8.6
1.8.7

View File

@@ -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
}
}