mirror of
https://git.anonymousland.org/anonymousland/synapse-product.git
synced 2024-10-01 08:25:44 -04: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
@ -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 New Issue
Block a user