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:
parent
74474a6d63
commit
808a8aedab
|
@ -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(
|
||||||
|
|
Loading…
Reference in New Issue