Skip to content

Commit

Permalink
v1.8.7
Browse files Browse the repository at this point in the history
  • Loading branch information
alireza0 committed Oct 10, 2024
1 parent 56c5b0d commit 8ff38d6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion config/version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.8.6
1.8.7
3 changes: 2 additions & 1 deletion web/service/inbound.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
}
Expand Down

0 comments on commit 8ff38d6

Please sign in to comment.