Fix robots being reported outside of org.
This commit is contained in:
parent
15dfd887d0
commit
525b63b83a
1 changed files with 1 additions and 1 deletions
|
@ -547,7 +547,7 @@ def prototype_view(proto, org_members):
|
|||
'name': user.username,
|
||||
'is_robot': user.robot,
|
||||
'kind': 'user',
|
||||
'is_org_member': user.username in org_members,
|
||||
'is_org_member': None if user.robot else user.username in org_members,
|
||||
}
|
||||
|
||||
if proto.delegate_user:
|
||||
|
|
Reference in a new issue