Fix robots being reported outside of org.

This commit is contained in:
yackob03 2014-01-21 18:00:23 -05:00
parent 15dfd887d0
commit 525b63b83a

View file

@ -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: