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(
|
this.traverseUserGroup(
|
||||||
func (groupId int64, group *userGroup) bool {
|
func (groupId int64, group *userGroup) bool {
|
||||||
|
if group != nil {
|
||||||
|
if _, ok := group.userHash.Load(accountId); ok {
|
||||||
|
found = true
|
||||||
|
return false
|
||||||
|
}
|
||||||
|
}
|
||||||
return true
|
return true
|
||||||
})
|
})
|
||||||
|
if found {
|
||||||
|
return true
|
||||||
|
}
|
||||||
}
|
}
|
||||||
return false
|
return false
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user