mirror of
https://github.com/alireza0/x-ui.git
synced 2026-03-13 21:13:09 +00:00
v1.8.7
This commit is contained in:
@@ -1 +1 @@
|
||||
1.8.6
|
||||
1.8.7
|
||||
@@ -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
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user