Don't error on AS non-ghost user use

This will probably go away either when we fix our existing ASes, or when
we kill the concept of non-ghost users.
This commit is contained in:
Daniel Wagner-Hall 2016-01-18 16:33:05 +00:00
parent 74474a6d63
commit 808a8aedab
1 changed files with 2 additions and 0 deletions

View File

@ -562,6 +562,8 @@ class Auth(object):
defer.returnValue(app_service.sender) defer.returnValue(app_service.sender)
user_id = request_args["user_id"][0] user_id = request_args["user_id"][0]
if app_service.sender == user_id:
defer.returnValue(app_service.sender)
if not app_service.is_interested_in_user(user_id): if not app_service.is_interested_in_user(user_id):
raise AuthError( raise AuthError(