mirror of
https://github.com/element-hq/synapse
synced 2024-09-04 11:20:07 +00:00
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
1 changed files with 2 additions and 0 deletions
|
@ -562,6 +562,8 @@ class Auth(object):
|
|||
defer.returnValue(app_service.sender)
|
||||
|
||||
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):
|
||||
raise AuthError(
|
||||
|
|
Loading…
Reference in a new issue