1
This commit is contained in:
parent
4b546e7709
commit
c847b193a4
@ -118,10 +118,20 @@ func (this* mail) isMailUser(accountId string) bool {
|
||||
}
|
||||
}
|
||||
{
|
||||
found := false
|
||||
this.traverseUserGroup(
|
||||
func (groupId int64, group *userGroup) bool {
|
||||
if group != nil {
|
||||
if _, ok := group.userHash.Load(accountId); ok {
|
||||
found = true
|
||||
return false
|
||||
}
|
||||
}
|
||||
return true
|
||||
})
|
||||
if found {
|
||||
return true
|
||||
}
|
||||
}
|
||||
return false
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user